git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12597
d7cf8633-e32d-0410-b094-
e92efae38249
vec3_t padmins, padmaxs;
vec3_t start;
vec3_t end;
- trace_t trace;
dp_model_t *model = r_refdef.scene.worldmodel;
static vec3_t positions[] = {
{ 0.5f, 0.5f, 0.5f },
{
for (i = 0; i < sizeof(positions) / sizeof(positions[0]); i++)
{
+ trace_t trace;
VectorCopy(eye, start);
end[0] = boxmins[0] + (boxmaxs[0] - boxmins[0]) * positions[i][0];
end[1] = boxmins[1] + (boxmaxs[1] - boxmins[1]) * positions[i][1];
}
}
-extern cvar_t mod_collision_bih;
static void R_DrawDebugModel(void)
{
entity_render_t *ent = rsurface.entity;