MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / Transform

Method Transform

SampleFramework11/v1.02/SF11_Math.cpp:413–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413Float3 Float3::Transform(const Float3& v, const Float3x3& m)
414{
415 XMVECTOR vec = v.ToSIMD();
416 vec = XMVector3TransformCoord(vec, m.ToSIMD());
417 return Float3(vec);
418}
419
420Float3 Float3::Transform(const Float3& v, const Float4x4& m)
421{

Callers

nothing calls this directly

Calls 5

Float3Class · 0.85
ToFloat3x3Method · 0.80
Float4Class · 0.70
TransformClass · 0.50
ToSIMDMethod · 0.45

Tested by

no test coverage detected