Complete triangle mesh code (and more refactoring)

This commit is contained in:
bijan2005 2020-12-07 12:04:44 -05:00
parent cddec468de
commit 4596c117df
5 changed files with 102 additions and 23 deletions

View file

@ -17,6 +17,7 @@ pub struct Plane {
// Input coordinates are defined in terms of the axes above.
}
#[allow(dead_code)]
impl Plane {
// Creates a new plane.
pub fn new<F: 'static>(center: Point3<f32>, x_axis: Vector3<f32>, y_axis: Vector3<f32>, texture: F) -> Self