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

Method Cross

SampleFramework12/v1.00/SF12_Math.cpp:407–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407Float3 Float3::Cross(const Float3& a, const Float3& b)
408{
409 Float3 result;
410 XMStoreFloat3(reinterpret_cast<XMFLOAT3*>(&result), XMVector3Cross(a.ToSIMD(), b.ToSIMD()));
411 return result;
412}
413
414Float3 Float3::Normalize(const Float3& a)
415{

Callers

nothing calls this directly

Calls 1

ToSIMDMethod · 0.45

Tested by

no test coverage detected