Follow rustic naming conventions
This commit is contained in:
parent
172c60277f
commit
52e1f0819c
2 changed files with 4 additions and 4 deletions
|
@ -19,13 +19,13 @@ use point::{Point2, Point3};
|
||||||
use vector::{Vec2, Vec3};
|
use vector::{Vec2, Vec3};
|
||||||
|
|
||||||
#[deriving(Clone, Eq)]
|
#[deriving(Clone, Eq)]
|
||||||
pub struct AABB2<S> {
|
pub struct Aabb2<S> {
|
||||||
center: Point2<S>,
|
center: Point2<S>,
|
||||||
size: Vec2<S>,
|
size: Vec2<S>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deriving(Clone, Eq)]
|
#[deriving(Clone, Eq)]
|
||||||
pub struct AABB3<S> {
|
pub struct Aabb3<S> {
|
||||||
center: Point3<S>,
|
center: Point3<S>,
|
||||||
size: Vec3<S>,
|
size: Vec3<S>,
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,14 +19,14 @@ use point::{Point2, Point3};
|
||||||
use vector::{Vec2, Vec3};
|
use vector::{Vec2, Vec3};
|
||||||
|
|
||||||
#[deriving(Clone, Eq)]
|
#[deriving(Clone, Eq)]
|
||||||
pub struct OBB2<S> {
|
pub struct Obb2<S> {
|
||||||
center: Point2<S>,
|
center: Point2<S>,
|
||||||
axis: Vec2<S>,
|
axis: Vec2<S>,
|
||||||
extents: Vec2<S>,
|
extents: Vec2<S>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deriving(Clone, Eq)]
|
#[deriving(Clone, Eq)]
|
||||||
pub struct OBB3<S> {
|
pub struct Obb3<S> {
|
||||||
center: Point3<S>,
|
center: Point3<S>,
|
||||||
axis: Vec3<S>,
|
axis: Vec3<S>,
|
||||||
extents: Vec3<S>,
|
extents: Vec3<S>,
|
||||||
|
|
Loading…
Reference in a new issue