forked from LeenkxTeam/LNXSDK
Consolidate and update
This commit is contained in:
@ -34,7 +34,6 @@ import iron.math.Quat;
|
||||
class RenderPath {
|
||||
public static var active: RenderPath;
|
||||
#if lnx_vr
|
||||
static var vrSimulateMode: Bool = false;
|
||||
static var vrCameraOffsetSet:Bool = false;
|
||||
static var vrCameraOffset:Vec4 = new Vec4();
|
||||
static var wasVRPresenting:Bool = false;
|
||||
@ -45,6 +44,9 @@ class RenderPath {
|
||||
public static var vrCenterCameraWorld:Mat4 = null;
|
||||
|
||||
static var vrOriginalSuperSample:Float = -1.0;
|
||||
#end
|
||||
|
||||
static var vrSimulateMode: Bool = false;
|
||||
public static inline function isVRPresenting(): Bool {
|
||||
#if (kha_webgl && lnx_vr)
|
||||
return kha.vr.VrInterface.instance != null && kha.vr.VrInterface.instance.IsPresenting();
|
||||
@ -57,8 +59,6 @@ class RenderPath {
|
||||
return vrSimulateMode;
|
||||
}
|
||||
|
||||
#end
|
||||
|
||||
public var frameScissor = false;
|
||||
public var frameScissorX = 0;
|
||||
public var frameScissorY = 0;
|
||||
|
||||
Reference in New Issue
Block a user