MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / TransformDirection

Method TransformDirection

SampleFramework12/v1.00/SF12_Math.cpp:435–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435Float3 Float3::TransformDirection(const Float3&v, const Float4x4& m)
436{
437 XMVECTOR vec = v.ToSIMD();
438 vec = XMVector3TransformNormal(vec, m.ToSIMD());
439 return Float3(vec);
440}
441
442Float3 Float3::Transform(const Float3& v, const Quaternion& q)
443{

Callers

nothing calls this directly

Calls 2

Float3Class · 0.85
ToSIMDMethod · 0.45

Tested by

no test coverage detected