Searched refs:trmpoly (Results 1 – 3 of 3) sorted by relevance
/dports/games/dhewm3/dhewm3-1.5.1/neo/cm/ |
H A D | CollisionModel_translate.cpp | 493 …::TranslateVertexThroughTrmPolygon( cm_traceWork_t *tw, cm_trmPolygon_t *trmpoly, cm_polygon_t *po… in TranslateVertexThroughTrmPolygon() argument 498 f = CM_TranslationPlaneFraction( trmpoly->plane, v->p, endp ); in TranslateVertexThroughTrmPolygon() 501 for ( i = 0; i < trmpoly->numEdges; i++ ) { in TranslateVertexThroughTrmPolygon() 502 edgeNum = trmpoly->edges[i]; in TranslateVertexThroughTrmPolygon() 515 tw->trace.c.normal = -trmpoly->plane.Normal(); in TranslateVertexThroughTrmPolygon() 516 tw->trace.c.dist = -trmpoly->plane.Dist(); in TranslateVertexThroughTrmPolygon() 521 tw->trace.c.trmFeature = trmpoly - tw->polys; in TranslateVertexThroughTrmPolygon()
|
H A D | CollisionModel_rotate.cpp | 983 …cal::RotateVertexThroughTrmPolygon( cm_traceWork_t *tw, cm_trmPolygon_t *trmpoly, cm_polygon_t *po… in RotateVertexThroughTrmPolygon() argument 991 if ( tw->isConvex && tw->axisIntersectsTrm && trmpoly->plane.Distance( v->p ) < 0.0f ) { in RotateVertexThroughTrmPolygon() 996 if ( !trmpoly->rotationBounds.ContainsPoint( v->p ) ) { in RotateVertexThroughTrmPolygon() 1011 if ( !RotatePointThroughEpsilonPlane( tw, v->p, endp, trmpoly->plane, -tw->angle, rotationOrigin, in RotateVertexThroughTrmPolygon() 1019 for ( i = 0; i < trmpoly->numEdges; i++ ) { in RotateVertexThroughTrmPolygon() 1020 edgeNum = trmpoly->edges[i]; in RotateVertexThroughTrmPolygon() 1035 tw->trace.c.normal = -trmpoly->plane.Normal(); in RotateVertexThroughTrmPolygon() 1041 tw->trace.c.trmFeature = trmpoly - tw->polys; in RotateVertexThroughTrmPolygon()
|
H A D | CollisionModel_local.h | 354 …void TranslateVertexThroughTrmPolygon( cm_traceWork_t *tw, cm_trmPolygon_t *trmpoly, cm_polygon_… 378 …void RotateVertexThroughTrmPolygon( cm_traceWork_t *tw, cm_trmPolygon_t *trmpoly, cm_polygon_t *…
|