Added multiplying a tuple by a matrix
This commit is contained in:
@@ -25,7 +25,7 @@ mod tests {
|
||||
|
||||
let expected_point = Tuple::point(2.0, 1.0, 7.0);
|
||||
|
||||
let translated_point = &transform * &p;
|
||||
let translated_point = &p * &transform;
|
||||
|
||||
assert_eq!(expected_point, translated_point);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user