MCPcopy Create free account
hub / github.com/HailToDodongo/pyrite64 / toWorldPoint

Function toWorldPoint

n64/engine/src/debug/debugDraw.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 constexpr int SIMPLE_RING_STEPS = 8;
15
16 inline fm_vec3_t toWorldPoint(const fm_vec3_t &position, const fm_quat_t &rotation, const fm_vec3_t &local)
17 {
18 return position + rotation * local;
19 }
20
21 void drawRingXZ(const fm_vec3_t &position, const fm_quat_t &rotation, float radius, float y, int steps, color_t color)
22 {

Callers 6

drawRingXZFunction · 0.85
drawOBBMethod · 0.85
drawCapsuleMethod · 0.85
drawCylinderMethod · 0.85
drawConeMethod · 0.85
drawPyramidMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected