redorav / hlslpp

Math library using HLSL syntax with multiplatform SIMD support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mul() intrinsic is missing some overloads.

mlangerak opened this issue · comments

The following mul() intrinsic overloads are not implemented (there may be more missing ones than these):

float3 mul(float2 v, float2x3 m)
float4 mul(float3 v, float3x4 m)
float2 mul(float2x3 m, float3 v)
float3 mul(float3x4 m, float4 v)

It seems like I added the overloads I needed for square matrices and forgot about the rest. Same as the other issue, I'll take a look and add those soon. Thanks!

@mlangerak All fixed now! Let me know if you need anything else.

Fixed via dfb2380