forked from StrafesNET/strafe-client
decide
This commit is contained in:
parent
f1e0514ecb
commit
cee6835af6
@ -246,7 +246,7 @@ impl MeshQuery<FaceId,EdgeId,VertId> for TransformedMesh<'_>{
|
|||||||
}
|
}
|
||||||
fn face_nd(&self,face_id:FaceId)->(Planar64Vec3,Planar64){
|
fn face_nd(&self,face_id:FaceId)->(Planar64Vec3,Planar64){
|
||||||
let (n,d)=self.mesh.face_nd(face_id);
|
let (n,d)=self.mesh.face_nd(face_id);
|
||||||
(self.normal_transform*n,self.normal_determinant*d)
|
(*self.normal_transform*n,self.normal_determinant*d)
|
||||||
}
|
}
|
||||||
fn vert(&self,vert_id:VertId)->Planar64Vec3{
|
fn vert(&self,vert_id:VertId)->Planar64Vec3{
|
||||||
self.transform.transform_point3(self.mesh.vert(vert_id))
|
self.transform.transform_point3(self.mesh.vert(vert_id))
|
||||||
|
Loading…
Reference in New Issue
Block a user