mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 16:41:31 +00:00
Remove RAVENMD4 #define
This commit is contained in:
parent
e14a814ba2
commit
ecd50f01c2
14 changed files with 3 additions and 85 deletions
|
@ -168,10 +168,8 @@ int R_ComputeLOD( trRefEntity_t *ent ) {
|
|||
float flod, lodscale;
|
||||
float projectedRadius;
|
||||
mdvFrame_t *frame;
|
||||
#ifdef RAVENMD4
|
||||
mdrHeader_t *mdr;
|
||||
mdrFrame_t *mdrframe;
|
||||
#endif
|
||||
int lod;
|
||||
|
||||
if ( tr.currentModel->numLods < 2 )
|
||||
|
@ -184,7 +182,6 @@ int R_ComputeLOD( trRefEntity_t *ent ) {
|
|||
// multiple LODs exist, so compute projected bounding sphere
|
||||
// and use that as a criteria for selecting LOD
|
||||
|
||||
#ifdef RAVENMD4
|
||||
if(tr.currentModel->type == MOD_MDR)
|
||||
{
|
||||
int frameSize;
|
||||
|
@ -196,7 +193,6 @@ int R_ComputeLOD( trRefEntity_t *ent ) {
|
|||
radius = RadiusFromBounds(mdrframe->bounds[0], mdrframe->bounds[1]);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
//frame = ( md3Frame_t * ) ( ( ( unsigned char * ) tr.currentModel->md3[0] ) + tr.currentModel->md3[0]->ofsFrames );
|
||||
frame = tr.currentModel->mdv[0]->frames;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue