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

Method Normalize

SampleFramework12/v1.00/SF12_Math.cpp:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414Float3 Float3::Normalize(const Float3& a)
415{
416 Float3 result;
417 XMStoreFloat3(reinterpret_cast<XMFLOAT3*>(&result), XMVector3Normalize(a.ToSIMD()));
418 return result;
419}
420
421Float3 Float3::Transform(const Float3& v, const Float3x3& m)
422{

Callers 1

GetCameraMatrixMethod · 0.80

Calls 2

QuaternionClass · 0.85
ToSIMDMethod · 0.45

Tested by

no test coverage detected