[quake2] q_shared.c - possible typo error?
brendanburns at comcast.net
brendanburns at comcast.net
Wed Sep 14 18:22:44 EDT 2005
That indeed does appear to be a typo, it has been removed from CVS...
Thanks!
--brendan
> I noticed this today - some declares stuck between two functions.
>
> In q_shared.c:
>
>
> =====================================
>
> float anglemod(float a)
> {
> #if 0
> if (a >= 0)
> a -= 360*(int)(a/360);
> else
> a += 360*( 1 + (int)(-a/360) );
> #endif
> a = (360.0/65536) * ((int)(a*(65536/360.0)) & 65535);
> return a;
> }
>
> int i; <-------------------- What are these
> vec3_t corners[2]; <-------------------- here for ???
>
>
> // this is the slow, general version
> int BoxOnPlaneSide2 (vec3_t emins, vec3_t emaxs, struct cplane_s *p)
> {
> int i;
> ...
> ...
> =====================================
>
>
>
> Remove?
>
> Nick
> --
> "When you're chewing on life's gristle,
> Don't grumble, Give a whistle..."
More information about the quake2
mailing list