Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Tweak near plane
Browse files Browse the repository at this point in the history
  • Loading branch information
mafiesto4 committed Dec 3, 2018
1 parent 80e37ff commit e085d7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FlaxEditor/Windows/EditGameWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public EditGameWindow(Editor editor)
Viewport = new MainEditorGizmoViewport(editor);
Viewport.Parent = this;
Viewport.Task.Flags = ViewFlags.DefaultEditor;
Viewport.NearPlane = 100.0f;
Viewport.NearPlane = 8.0f;
Viewport.FarPlane = 20000.0f;

Editor.Scene.ActorRemoved += SceneOnActorRemoved;
Expand Down Expand Up @@ -350,7 +350,7 @@ public override void OnLayoutDeserialize(XmlElement node)
public override void OnLayoutDeserialize()
{
Viewport.Grid.Enabled = true;
Viewport.NearPlane = 100.0f;
Viewport.NearPlane = 8.0f;
Viewport.FarPlane = 20000.0f;
Viewport.FieldOfView = 60.0f;
Viewport.MovementSpeed = 1.0f;
Expand Down

0 comments on commit e085d7b

Please sign in to comment.