Epok Engine

EPOK RUNTIME

epok::transform_geometry_vertex

Function · 1 overload

Function

Performs `transform geometry vertex` as part of Geometry Transformation Engine math and register operations.

Belongs to
epok
Header
gte_geometry.hpp
Overloads
1

Declaration

Declaration
inline void transform_geometry_vertex(const int16_t* vertex,int32_t* camera)

Performs `transform geometry vertex` as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
vertexconst int16_t *Value supplied for vertex. Keep referenced or pointed-to data valid for the complete call.
cameraint32_t *Value supplied for camera. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "gte_geometry.hpp"

// Assume these named values have been initialized with valid data:
// const int16_t * vertex
// int32_t * camera

epok::transform_geometry_vertex(vertex, camera);

Why use it

It provides direct, allocation-conscious access to Geometry Transformation Engine math and register operations. No exception-based error path is implied by the signature.

Trade-offs and warnings

Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/gte_geometry.hpp:28

Related members