Can make a clock face
This commit is contained in:
@@ -19,6 +19,14 @@ impl Tuple {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn point_zero() -> Tuple {
|
||||
Tuple {
|
||||
x: 0.0,
|
||||
y: 0.0,
|
||||
z: 0.0,
|
||||
w: 1.0
|
||||
}
|
||||
}
|
||||
|
||||
pub fn point(x: f32, y: f32, z: f32) -> Tuple {
|
||||
Tuple {
|
||||
|
||||
Reference in New Issue
Block a user