We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3840d5e commit 14c379bCopy full SHA for 14c379b
include/nbl/builtin/hlsl/math/linalg/transform.hlsl
@@ -47,6 +47,8 @@ matrix<T, 4, 4> rotation_mat(T angle, vector<T, 3> const& axis)
47
rotation[2][1] = temp[1] * axis[2] + s * axis[0];
48
rotation[2][2] = c + temp[2] * axis[2];
49
50
+ rotation[3][3] = 1;
51
+
52
return rotation;
53
}
54
0 commit comments