/src/VBox/GuestHost/OpenGL/include/cr_bbox.h
https://gitlab.com/ufo/virtualbox-ose-3-1-8 · C Header · 39 lines · 23 code · 11 blank · 5 comment · 0 complexity · b0d4807b2939e1df35eb817a76dc0b28 MD5 · raw file
- /* Copyright (c) 2001, Stanford University
- * All rights reserved.
- *
- * See the file LICENSE.txt for information on redistributing this software.
- */
- #ifndef CR_BBOX_H
- #define CR_BBOX_H
- #include "state/cr_statetypes.h"
- #include <iprt/cdefs.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- extern DECLEXPORT(void)
- crTransformBBox(float xmin, float ymin, float zmin,
- float xmax, float ymax, float zmax,
- const CRmatrix *m,
- float *out_xmin, float *out_ymin, float *out_zmin,
- float *out_xmax, float *out_ymax, float *out_zmax);
- extern DECLEXPORT(void)
- crProjectBBox(const GLfloat modl[16], const GLfloat proj[16],
- GLfloat *x1, GLfloat *y1, GLfloat *z1,
- GLfloat *x2, GLfloat *y2, GLfloat *z2);
- extern DECLEXPORT(void)
- crRectiUnion(CRrecti *result, const CRrecti *a, const CRrecti *b);
- #ifdef __cplusplus
- }
- #endif
- #endif /* CR_BBOX_H */