Epok Engine

EPOK RUNTIME

epok::project_cpu

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

CPU perspective for clipped or fallback vertices, rounding like the GTE so mixed triangles share edges.

Belongs to
epok
Header
polygon.hpp
Overloads
1

Declaration

template
Declaration
template<class Units, int Width, int Height> inline void project_cpu(ProjectedVertex& point)

CPU perspective for clipped or fallback vertices, rounding like the GTE so mixed triangles share edges.

ParameterTypeMeaning
pointProjectedVertex &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "polygon.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Units, Width, Height

// Assume these named values have been initialized with valid data:
// ProjectedVertex & point

epok::project_cpu<Units, Width, Height>(point);

Trade-offs and warnings

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

Declared in runtime/polygon.hpp:154

Related members