Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 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 `apply` as part of the lighting module.
Vector apply(const Affine<Fixed>& m,const int16_t* normal)Performs `apply` as part of the lighting module.
| Parameter | Type | Meaning |
|---|---|---|
m | const Affine<Fixed> & | Not documented; consult the linked header. |
normal | const int16_t * | Not documented; consult the linked header. |
Returns: Vector. Consult the linked header for its meaning.
#include "lighting.hpp"
// Assume these named values have been initialized with valid data:
// const Affine<Fixed> & m
// const int16_t * normal
epok::lighting_detail::MeshNormalTransform& object = /* obtain a valid instance */;
auto result = object.apply(m, normal);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/lighting.hpp:31