From c20350336e1282be6f10f2b8c4cfcbf4f6b90427 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Wed, 18 Mar 2015 00:59:43 +0300 Subject: [PATCH] Exposed Ortho fields as public --- src/projection.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/projection.rs b/src/projection.rs index 733197c..63027f5 100644 --- a/src/projection.rs +++ b/src/projection.rs @@ -145,9 +145,12 @@ impl> ToMatrix4 for PerspectiveFov { /// A perspective projection with arbitrary left/right/bottom/top distances #[derive(Copy, Clone, PartialEq, RustcEncodable, RustcDecodable)] pub struct Perspective { - pub left: S, right: S, - pub bottom: S, top: S, - pub near: S, far: S, + pub left: S, + pub right: S, + pub bottom: S, + pub top: S, + pub near: S, + pub far: S, } impl Projection for Perspective {