mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 06:00:25 +02:00
Added First Person Camera Option
This commit is contained in:
1 parent
7898a76a22
commit
02e5cb60a4
18 files changed
+1219
-23
No files matched your search
@@ -295,7 +295,15 @@ struct ReplayTarget {
|
||||
struct StereoReplayEye {
|
||||
ReplayTarget target;
|
||||
Mat4x4<float> projection;
|
||||
// The headset's eye delta, from the VR-neutral view space into this eye's.
|
||||
// The virtual screen is defined in that neutral space, so 2D reprojection
|
||||
// uses this transform directly.
|
||||
Mat3x4<float> viewFromCenter;
|
||||
// The same delta with the first-person scene anchor folded in, i.e. from the
|
||||
// game's *recorded* view space into this eye's. World draws carry the game's
|
||||
// camera in their position matrices and therefore need this one. It equals
|
||||
// viewFromCenter whenever the anchor is identity.
|
||||
Mat3x4<float> viewFromScene;
|
||||
};
|
||||
|
||||
struct StereoReplayFrame {
|
||||
|
||||
Reference in new issue
Block a user