Changeset 145 for osgVisual/src/vista2D
- Timestamp:
- Nov 1, 2010, 7:23:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/vista2D/visual_vista2D.cpp
r31 r145 66 66 // matrix. Positions described under this node will equate to 67 67 // pixel coordinates. 68 vista2DProjectionMatrix->setMatrix(osg::Matrix::ortho2D(0,1600,0,900)); 68 vista2DProjectionMatrix->setMatrix(osg::Matrix::ortho2D(0,1600,0,900)); /** todo: use screen size dynamically. */ 69 69 70 70 // For the HUD model view matrix use an identity matrix:
Note: See TracChangeset
for help on using the changeset viewer.