def test_shear_moves_z_in_proportion_to_y(self): transform = shearing(0, 0, 0, 0, 0, 1) p = Point(2, 3, 4) assert transform * p == Point(2, 3, 7)
def test_shear_moves_y_in_proportion_to_z(self): transform = shearing(0, 0, 0, 1, 0, 0) p = Point(2, 3, 4) assert transform * p == Point(2, 7, 4)