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

Method Transform

SampleFramework12/v1.00/SF12_Math.cpp:421–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421Float3 Float3::Transform(const Float3& v, const Float3x3& m)
422{
423 XMVECTOR vec = v.ToSIMD();
424 vec = XMVector3TransformCoord(vec, m.ToSIMD());
425 return Float3(vec);
426}
427
428Float3 Float3::Transform(const Float3& v, const Float4x4& m)
429{

Callers 2

CullMeshesFunction · 0.45
CullMeshesAndSortFunction · 0.45

Calls 4

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

Tested by

no test coverage detected