Epok Engine

EPOK RUNTIME

epok::load_geometry_matrix

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.

Function template

Use MAC1..3, not the saturated 16-bit IR registers: the existing renderer's Q12 camera coordinates regularly exceed +/-8 world units.

Belongs to
epok
Header
gte_geometry.hpp
Overloads
1

Declaration

template
Declaration
template<class Number> bool load_geometry_matrix(const Affine<Number>& m)

Use MAC1..3, not the saturated 16-bit IR registers: the existing renderer's Q12 camera coordinates regularly exceed +/-8 world units.

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

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

Example sketch

C++ example
#include "gte_geometry.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Number

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

auto result = epok::load_geometry_matrix<Number>(m);

Trade-offs and warnings

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

Declared in runtime/gte_geometry.hpp:11

Related members