From 52e1f0819ca6d8a4431aa14b64bac2723c133ae9 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Tue, 17 Sep 2013 14:39:06 +1000 Subject: [PATCH] Follow rustic naming conventions --- src/cgmath/aabb.rs | 4 ++-- src/cgmath/obb.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cgmath/aabb.rs b/src/cgmath/aabb.rs index a389484..c41075c 100644 --- a/src/cgmath/aabb.rs +++ b/src/cgmath/aabb.rs @@ -19,13 +19,13 @@ use point::{Point2, Point3}; use vector::{Vec2, Vec3}; #[deriving(Clone, Eq)] -pub struct AABB2 { +pub struct Aabb2 { center: Point2, size: Vec2, } #[deriving(Clone, Eq)] -pub struct AABB3 { +pub struct Aabb3 { center: Point3, size: Vec3, } diff --git a/src/cgmath/obb.rs b/src/cgmath/obb.rs index 7c5e6e8..c169d77 100644 --- a/src/cgmath/obb.rs +++ b/src/cgmath/obb.rs @@ -19,14 +19,14 @@ use point::{Point2, Point3}; use vector::{Vec2, Vec3}; #[deriving(Clone, Eq)] -pub struct OBB2 { +pub struct Obb2 { center: Point2, axis: Vec2, extents: Vec2, } #[deriving(Clone, Eq)] -pub struct OBB3 { +pub struct Obb3 { center: Point3, axis: Vec3, extents: Vec3,