Can make a clock face

This commit is contained in:
Jon Janzen
2021-10-02 19:22:27 -06:00
parent ed3773a299
commit 1e57661ace
3 changed files with 53 additions and 1 deletions

View File

@@ -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 {