| 57 | } |
| 58 | |
| 59 | void debugDrawLines (const Vec3& a, const Vec3& b, const Vec3& d, int nSubdiv, const float* pColor = NULL) |
| 60 | { |
| 61 | IRenderer* pRenderer = g_GetIRenderer(); |
| 62 | pRenderer->Draw3dPrim(a,b,DPRIM_LINE,pColor); |
| 63 | for (int i = 1; i < nSubdiv; ++i) |
| 64 | pRenderer->Draw3dPrim(a + (d-a)*float(double(i)/nSubdiv), b + (d-a)*float(double(i)/nSubdiv), DPRIM_LINE, pColor); |
| 65 | } |
| 66 | |
| 67 | void debugDrawOctahedron (const Matrix44& matModel, float fSize, const float pColor[4]) |
| 68 | { |
no test coverage detected