Last change
on this file since 3467 was
3467,
checked in by ldelgass, 12 years ago
|
Begin process of renaming/merging vrmath library
|
File size:
628 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #ifndef VRLINMATH_H |
---|
3 | #define VRLINMATH_H |
---|
4 | |
---|
5 | class vrVector3f; |
---|
6 | |
---|
7 | extern vrVector3f vrCalcuNormal(const vrVector3f& v1, const vrVector3f& v2, const vrVector3f& v3); |
---|
8 | |
---|
9 | #ifdef __cplusplus |
---|
10 | extern "C" { |
---|
11 | #endif |
---|
12 | |
---|
13 | int vrUnproject(float winx, float winy, float winz, |
---|
14 | const float modelMatrix[16], |
---|
15 | const float projMatrix[16], |
---|
16 | const int viewport[4], |
---|
17 | float *objx, float *objy, float *objz); |
---|
18 | |
---|
19 | void vrPerspective(float fovy, float aspect, float zNear, float zFar, float* matrix); |
---|
20 | |
---|
21 | #ifdef __cplusplus |
---|
22 | }; |
---|
23 | #endif |
---|
24 | |
---|
25 | #endif |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.