Lines Matching refs:newCol

1092 					CollisionRecord_t  	&newCol = TS.collRecMap[i];  in G2_TracePolys()  local
1096 newCol.mPolyIndex = j; in G2_TracePolys()
1097 newCol.mEntityNum = TS.entNum; in G2_TracePolys()
1098 newCol.mSurfaceIndex = surface->thisSurfaceIndex; in G2_TracePolys()
1099 newCol.mModelIndex = TS.modelIndex; in G2_TracePolys()
1102 newCol.mFlags = G2_FRONTFACE; in G2_TracePolys()
1106 newCol.mFlags = G2_BACKFACE; in G2_TracePolys()
1110 newCol.mDistance = VectorLength(distVect); in G2_TracePolys()
1113 TransformAndTranslatePoint(hitPoint, newCol.mCollisionPosition, &worldMatrix); in G2_TracePolys()
1116 TransformPoint(normal, newCol.mCollisionNormal, &worldMatrix); in G2_TracePolys()
1117 VectorNormalize(newCol.mCollisionNormal); in G2_TracePolys()
1119 newCol.mMaterial = newCol.mLocation = 0; in G2_TracePolys()
1125 hitPoint, &x_pos, &y_pos,newCol.mBarycentricI,newCol.mBarycentricJ); in G2_TracePolys()
1324 CollisionRecord_t &newCol = TS.collRecMap[i]; in G2_RadiusTracePolys() local
1326 newCol.mPolyIndex = j; in G2_RadiusTracePolys()
1327 newCol.mEntityNum = TS.entNum; in G2_RadiusTracePolys()
1328 newCol.mSurfaceIndex = surface->thisSurfaceIndex; in G2_RadiusTracePolys()
1329 newCol.mModelIndex = TS.modelIndex; in G2_RadiusTracePolys()
1332 newCol.mFlags = G2_FRONTFACE; in G2_RadiusTracePolys()
1351 TransformPoint(normal, newCol.mCollisionNormal, &worldMatrix); in G2_RadiusTracePolys()
1352 VectorNormalize(newCol.mCollisionNormal); in G2_RadiusTracePolys()
1354 newCol.mMaterial = newCol.mLocation = 0; in G2_RadiusTracePolys()
1382 newCol.mDistance = VectorLength(distVect); in G2_RadiusTracePolys()
1385 TransformAndTranslatePoint(hitPoint, newCol.mCollisionPosition, &worldMatrix); in G2_RadiusTracePolys()
1386 newCol.mBarycentricI = newCol.mBarycentricJ = 0.0f; in G2_RadiusTracePolys()