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