Last change
on this file since 32375 was 15532, checked in by vboxsync, 16 years ago |
crOpenGL: export to OSE
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
882 bytes
|
Line | |
---|
1 | /* Copyright (c) 2001, Stanford University
|
---|
2 | * All rights reserved.
|
---|
3 | *
|
---|
4 | * See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef CR_BBOX_H
|
---|
8 | #define CR_BBOX_H
|
---|
9 |
|
---|
10 | #include "state/cr_statetypes.h"
|
---|
11 |
|
---|
12 | #include <iprt/cdefs.h>
|
---|
13 |
|
---|
14 | #ifdef __cplusplus
|
---|
15 | extern "C" {
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | extern DECLEXPORT(void)
|
---|
19 | crTransformBBox(float xmin, float ymin, float zmin,
|
---|
20 | float xmax, float ymax, float zmax,
|
---|
21 | const CRmatrix *m,
|
---|
22 | float *out_xmin, float *out_ymin, float *out_zmin,
|
---|
23 | float *out_xmax, float *out_ymax, float *out_zmax);
|
---|
24 |
|
---|
25 | extern DECLEXPORT(void)
|
---|
26 | crProjectBBox(const GLfloat modl[16], const GLfloat proj[16],
|
---|
27 | GLfloat *x1, GLfloat *y1, GLfloat *z1,
|
---|
28 | GLfloat *x2, GLfloat *y2, GLfloat *z2);
|
---|
29 |
|
---|
30 |
|
---|
31 | extern DECLEXPORT(void)
|
---|
32 | crRectiUnion(CRrecti *result, const CRrecti *a, const CRrecti *b);
|
---|
33 |
|
---|
34 |
|
---|
35 | #ifdef __cplusplus
|
---|
36 | }
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #endif /* CR_BBOX_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.