VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/include/cr_bbox.h@ 70939

Last change on this file since 70939 was 69474, checked in by vboxsync, 7 years ago

*: scm updates - header files should have 'svn:keywords=Id Revision' too (doesn't mean they have to use them).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
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
15extern "C" {
16#endif
17
18extern DECLEXPORT(void)
19crTransformBBox(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
25extern DECLEXPORT(void)
26crProjectBBox(const GLfloat modl[16], const GLfloat proj[16],
27 GLfloat *x1, GLfloat *y1, GLfloat *z1,
28 GLfloat *x2, GLfloat *y2, GLfloat *z2);
29
30
31extern DECLEXPORT(void)
32crRectiUnion(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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette