Changeset 411 for experimental
- Timestamp:
- Aug 15, 2012, 9:56:45 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/DistortionSetupStrategyProjectionDesigner.cpp
r410 r411 259 259 260 260 //Frustum Parameters: Left, Right, Bottom, Top, zNear, zFar. 261 // Important: By definition of OpenGL, Left, Right, Bottom and Top must be set as tangens, multiplied by zNear!262 261 projectionOffset.makeFrustum( 263 tanf((parser->getFrustumDataset())[0]) * (parser->getFrustumDataset())[4],264 tanf((parser->getFrustumDataset())[1]) * (parser->getFrustumDataset())[4],265 tanf((parser->getFrustumDataset())[2]) * (parser->getFrustumDataset())[4],266 tanf((parser->getFrustumDataset())[3]) * (parser->getFrustumDataset())[4],262 (parser->getFrustumDataset())[0], 263 (parser->getFrustumDataset())[1], 264 (parser->getFrustumDataset())[2], 265 (parser->getFrustumDataset())[3], 267 266 (parser->getFrustumDataset())[4], 268 267 (parser->getFrustumDataset())[5]);
Note: See TracChangeset
for help on using the changeset viewer.