EPOK RUNTIME
epok::world2d::ShapeTriangle
Struct
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.
Struct
One triangle of a Polygon2D, with texels when the polygon is textured.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "world2d_service.hpp"
epok::world2d::ShapeTriangle& value = /* obtain a valid instance from your game */;Fields and constants
uExposes `u` on `epok::world2d::ShapeTriangle` for the world2d service module.FieldvExposes `v` on `epok::world2d::ShapeTriangle` for the world2d service module.FieldxExposes `x` on `epok::world2d::ShapeTriangle` for the world2d service module.FieldyExposes `y` on `epok::world2d::ShapeTriangle` for the world2d service module.Field