Epok Engine

EPOK RUNTIME

epok::project_geometry_vertex

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

Camera output is Q8 with Y up.

Belongs to
epok
Header
gte_geometry.hpp
Overloads
1

Declaration

template
Declaration
template<class Vertex> inline void project_geometry_vertex(const Vertex& vertex,const int32_t* offset,int32_t* camera,uint32_t& screen,uint32_t& flags)

Camera output is Q8 with Y up.

ParameterTypeMeaning
vertexconst Vertex &Not documented; consult the linked header.
offsetconst int32_t *Not documented; consult the linked header.
cameraint32_t *Not documented; consult the linked header.
screenuint32_t &Not documented; consult the linked header.
flagsuint32_t &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "gte_geometry.hpp"

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

// Assume these named values have been initialized with valid data:
// const Vertex & vertex
// const int32_t * offset
// int32_t * camera
// uint32_t & screen
// uint32_t & flags

epok::project_geometry_vertex<Vertex>(vertex, offset, camera, screen, flags);

Trade-offs and warnings

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

Declared in runtime/gte_geometry.hpp:86

Related members