Beispiel #1
0
		public Posef(Quatf q, Vector3f p)
		{
			Orientation = q;
			Position = p;
		}
Beispiel #2
0
 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);
Beispiel #3
0
 public Posef(Quatf q, Vector3f p)
 {
     Orientation = q;
     Position    = p;
 }
Beispiel #4
0
        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;
        }