FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
fix.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) Volition, Inc. 1999. All rights reserved.
3
*
4
* All source code herein is the property of Volition, Inc. You may not sell
5
* or otherwise commercially exploit the source or things you created based on the
6
* source.
7
*
8
*/
9
10
11
12
#ifndef _FIX_H
13
#define _FIX_H
14
15
#define F1_0 65536
16
#define f1_0 65536
17
18
fix
fixmul
(
fix
a
,
fix
b
);
19
fix
fixdiv
(
fix
a
,
fix
b
);
20
fix
fixmuldiv
(
fix
a
,
fix
b
,
fix
c
);
21
22
#define f2i(a) ((int)((a)>>16))
23
#define i2f(a) ((fix)((a)<<16))
24
25
#endif
fixmuldiv
fix fixmuldiv(fix a, fix b, fix c)
Definition:
fix.cpp:34
a
GLboolean GLboolean GLboolean GLboolean a
Definition:
Glext.h:5781
fix
long fix
Definition:
pstypes.h:54
b
GLboolean GLboolean GLboolean b
Definition:
Glext.h:5781
fixdiv
fix fixdiv(fix a, fix b)
Definition:
fix.cpp:29
fixmul
fix fixmul(fix a, fix b)
Definition:
fix.cpp:22
c
const GLubyte * c
Definition:
Glext.h:8376
code
math
fix.h
Generated on Sun May 1 2016 16:22:44 for FS2_Open by
1.8.10