MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / largestAxis

Function largestAxis

Source/Falcor/Scene/SceneBuilder.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 const float kMaxTexelError = 0.5f;
57
58 int largestAxis(const float3& v)
59 {
60 if (v.x >= v.y && v.x >= v.z) return 0;
61 else if (v.y >= v.z) return 1;
62 else return 2;
63 }
64
65 class MikkTSpaceWrapper
66 {

Callers 2

splitMeshGroupMedianMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected