public void CancelMark()
{
this.uploadTicks = this.updateTicks;
}
mat4 IPerspectiveCamera.GetPerspectiveProjectionMatrix() { if (perspectiveCameraRecord.IsMarked()) { var camera = this as IPerspectiveCamera; perspectiveProjectionMatrix = glm.perspective( (float)(camera.FieldOfView * Math.PI / 180.0f), (float)camera.AspectRatio, (float)camera.Near, (float)camera.Far); perspectiveCameraRecord.CancelMark(); } return(perspectiveProjectionMatrix); }