Example #1
0
		public Posef(Quatf q, Vector3f p)
		{
			Orientation = q;
			Position = p;
		}
Example #2
0
File: OvrCapi.cs Project: uxl/rdgvr
 private static extern void ovrHmd_GetEyeTimewarpMatricesDebug(
     IntPtr hmd,
     Eye eye,
     Posef renderPose,
     Quatf extraQuat,
     [MarshalAs(UnmanagedType.LPArray, SizeConst = 2)]
     [Out] Matrix4f_Raw[] twnOut,
     double debugTimingOffsetInSeconds);
Example #3
0
 public Posef(Quatf q, Vector3f p)
 {
     Orientation = q;
     Position    = p;
 }
Example #4
0
File: OvrCapi.cs Project: uxl/rdgvr
        public Matrix4f[] GetEyeTimewarpMatricesDebug(Eye eye, Posef renderPose, Quatf extraQuat, double debugTimingOffsetInSeconds)
        {
            Matrix4f_Raw[] rawMats = {new Matrix4f_Raw(), new Matrix4f_Raw()};
            ovrHmd_GetEyeTimewarpMatricesDebug(HmdPtr, eye, renderPose, extraQuat, rawMats, debugTimingOffsetInSeconds);

            Matrix4f[] mats = {new Matrix4f(rawMats[0]), new Matrix4f(rawMats[1])};
            return mats;
        }