Last change
on this file since 2841 was
2841,
checked in by ldelgass, 12 years ago
|
Misc. cleanups. Make libs look in nanovis src dir for includes, so that libs
can use Trace.h. Trace.h now includes config.h, so the WANT_TRACE define can
be placed there. The Makefile now has the flag for enabling the pointset
code, since it also switches which objects are compiled.
|
-
Property svn:eol-style set to
native
|
File size:
487 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #ifndef VRPROJECTION_H |
---|
3 | #define VRPROJECTION_H |
---|
4 | |
---|
5 | #ifdef __cplusplus |
---|
6 | extern "C" { |
---|
7 | #endif |
---|
8 | |
---|
9 | int |
---|
10 | unproject(float winx, float winy, float winz, |
---|
11 | const float modelMatrix[16], |
---|
12 | const float projMatrix[16], |
---|
13 | const int viewport[4], |
---|
14 | float *objx, float *objy, float *objz); |
---|
15 | |
---|
16 | void |
---|
17 | perspective(float fovy, float aspect, float zNear, float zFar, float *matrix); |
---|
18 | |
---|
19 | #ifdef __cplusplus |
---|
20 | }; |
---|
21 | #endif |
---|
22 | |
---|
23 | #endif |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.