Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Function template · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Performs `distance` as part of the frustum module.
template<class Number> static Number distance(int plane,Number x,Number y,Number z)Performs `distance` as part of the frustum module.
| Parameter | Type | Meaning |
|---|---|---|
plane | int | Not documented; consult the linked header. |
x | Number | Not documented; consult the linked header. |
y | Number | Not documented; consult the linked header. |
z | Number | Not documented; consult the linked header. |
Returns: Number. Consult the linked header for its meaning.
#include "frustum.hpp"
// Replace these template arguments with types or values accepted by the declaration:
// Number
// Assume these named values have been initialized with valid data:
// int plane
// Number x
// Number y
// Number z
auto result = epok::ScreenFrustum::distance<Number>(plane, x, y, z);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/frustum.hpp:31