Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Stdafx.h
Go to the documentation of this file.
1
/*
3
* OPCODE - Optimized Collision Detection
4
* Copyright (C) 2001 Pierre Terdiman
5
* Homepage: http://www.codercorner.com/Opcode.htm
6
*/
8
9
//chuck starchaser shutting up the warnings about violations of strict aliasing...
10
#ifndef _WIN32 // pheonixstorm shutting up pragma warnings on win32
11
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
12
#endif
13
//believe me I tried to fix the code, using a union of float, int and unsigned, but the amount of
14
//changes needed in the code was immense.
15
//So, bottom line:
16
// assert( sizeof(float) == sizeof(int) == sizeof(unsigned int) == sizeof(dword) ) or this library won't work
17
//also
18
// assert( (dword&)float(0.0f) == (dword&)int(0) ) must pass or this library will blow on your face
19
20
#include "
opcodetypes.h
"
21
#include "
opcodesysdef.h
"
22
#include "
Opcode.h
"
23
src
cmd
collide2
Stdafx.h
Generated on Fri May 29 2015 23:07:12 for Vegastrike 0.5.1 rc1 by
1.8.4