/// Returns the unnormalized normal of the face.
Returns the unnormalized normal of the face.
Returns the unnormalized normal of the face .
pub fn face_direction(&self, face_id: FaceID) -> Vec3
    {
        let mut walker = self.walker_from_face(face_id);
        let p0 = self.vertex_position(walker.vertex_id().unwrap());
        walker.as_next();
        let v0 = self.vertex_position(walker.vertex_id().unwrap()) - p0;
        walker.as_next();
        let v1 = self.vertex_position(walker.vertex_id().unwrap()) - p0;
        v0.cross(v1)
    }
pub fn face_direction ( & self , face_id : FaceID ) -> Vec3 { let mut walker = self . walker_from_face ( face_id ) ; let p0 = self . vertex_position ( walker . vertex_id ( ) . unwrap ( ) ) ; walker . as_next ( ) ; let v0 = self . vertex_position ( walker . vertex_id ( ) . unwrap ( ) ) - p0 ; walker . as_next ( ) ; let v1 = self . vertex_position ( walker . vertex_id ( ) . unwrap ( ) ) - p0 ; v0 . cross ( v1 ) }
Returns the unnormalized normal of the face.
Returns the unnormalized normal of the face .
&self
face_id
FaceID