public float Znear, Zfar; // of projection #endregion Fields #region Constructors public OcuConfig() { this.Position = new Vector3(0.0f, 15.0f, 10.0f); this.Angle = 0.02f; this.Speed = 0.5f; this.Scale = 1.0f; this.Znear = 1.0f; this.Zfar = 1000.0f; this.Sneak = new SneakSpec() { Y = 7.5f, Speed = 0.25f, }; }
public SneakSpec Sneak; // of main camera public OcuConfig() { this.Position = new Vector3(0.0f, 15.0f, 10.0f); this.Angle = 0.02f; this.Speed = 0.5f; this.Scale = 1.0f; this.Znear = 1.0f; this.Zfar = 1000.0f; this.Sneak = new SneakSpec() { Y = 7.5f, Speed = 0.25f, }; }