MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Min

Function Min

engine/Poseidon/Graphics/Shadow/ShadowMath.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Vec3 Min(const Vec3& a, const Vec3& b)
41{
42 return {std::min(a.x, b.x), std::min(a.y, b.y), std::min(a.z, b.z)};
43}
44
45Vec3 Max(const Vec3& a, const Vec3& b)
46{

Callers 2

FitOrthoFunction · 0.70
InspectShadowFunction · 0.50

Calls 1

minFunction · 0.85

Tested by 1

InspectShadowFunction · 0.40