MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / g3_AddDeltaVec

Function g3_AddDeltaVec

renderer/HardwarePoints.cpp:136–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136uint8_t g3_AddDeltaVec(g3Point *dest, g3Point *src, vector *deltav) {
137 dest->p3_vec = src->p3_vec + *deltav;
138
139 dest->p3_flags = 0; // not projected
140
141 return g3_CodePoint(dest);
142}
143
144// calculate the depth of a point - returns the z coord of the rotated point
145float g3_CalcPointDepth(vector *pnt) {

Callers

nothing calls this directly

Calls 1

g3_CodePointFunction · 0.85

Tested by

no test coverage detected