mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Basic fix for stereo rendering without a display device
This commit is contained in:
parent
8a55feebef
commit
efc47ed757
6 changed files with 104 additions and 30 deletions
|
|
@ -49,6 +49,8 @@ struct CameraQuery
|
|||
Point3F eyeOffset[2];
|
||||
MatrixF eyeTransforms[2];
|
||||
bool ortho;
|
||||
bool hasFovPort;
|
||||
bool hasStereoTargets;
|
||||
MatrixF cameraMatrix;
|
||||
RectI stereoViewports[2]; // destination viewports
|
||||
GFXTextureTarget* stereoTargets[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue