Follow rustic naming conventions

This commit is contained in:
Brendan Zabarauskas 2013-09-17 14:39:06 +10:00
parent 172c60277f
commit 52e1f0819c
2 changed files with 4 additions and 4 deletions

View file

@ -19,13 +19,13 @@ use point::{Point2, Point3};
use vector::{Vec2, Vec3};
#[deriving(Clone, Eq)]
pub struct AABB2<S> {
pub struct Aabb2<S> {
center: Point2<S>,
size: Vec2<S>,
}
#[deriving(Clone, Eq)]
pub struct AABB3<S> {
pub struct Aabb3<S> {
center: Point3<S>,
size: Vec3<S>,
}

View file

@ -19,14 +19,14 @@ use point::{Point2, Point3};
use vector::{Vec2, Vec3};
#[deriving(Clone, Eq)]
pub struct OBB2<S> {
pub struct Obb2<S> {
center: Point2<S>,
axis: Vec2<S>,
extents: Vec2<S>,
}
#[deriving(Clone, Eq)]
pub struct OBB3<S> {
pub struct Obb3<S> {
center: Point3<S>,
axis: Vec3<S>,
extents: Vec3<S>,