Epok Engine

EPOK RUNTIME

epok::lighting_detail::direction

Function · 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.

Function

Performs `direction` as part of the lighting module.

Belongs to
epok::lighting_detail
Header
lighting.hpp
Overloads
1

Declaration

Declaration
inline Vector direction(const Affine<Fixed>& m)

Performs `direction` as part of the lighting module.

ParameterTypeMeaning
mconst Affine<Fixed> &Not documented; consult the linked header.

Returns: Vector. Consult the linked header for its meaning.

Example sketch

C++ example
#include "lighting.hpp"

// Assume these named values have been initialized with valid data:
// const Affine<Fixed> & m

auto result = epok::lighting_detail::direction(m);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/lighting.hpp:18

Related members