MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / TransformVector

Function TransformVector

test/skinning_test_no_simd.cpp:146–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 result.z = m.rowz.x * v.x + m.rowz.y * v.y + m.rowz.z * v.z + m.rowz.w;
145}
146inline void TransformVector(CalVector4& result, const BoneTransform& m, const CalBase4& v) {
147 result.x = m.rowx.x * v.x + m.rowx.y * v.y + m.rowx.z * v.z;
148 result.y = m.rowy.x * v.x + m.rowy.y * v.y + m.rowy.z * v.z;
149 result.z = m.rowz.x * v.x + m.rowz.y * v.y + m.rowz.z * v.z;
150}
151
152void calculateVerticesAndNormals_x87(
153 const BoneTransform* boneTransforms,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected