mirror of
https://github.com/Mercantec-GHC/h5-projekt-mst.git
synced 2026-08-27 05:37:39 +02:00
remove lines
This commit is contained in:
parent
9ed493d19b
commit
a4ccb9c781
@ -56,7 +56,6 @@ impl<'r, R: Renderer> R3d<'r, R> {
|
|||||||
self.draw_line(face.0 + pos, pxyz + pos, Color::WED);
|
self.draw_line(face.0 + pos, pxyz + pos, Color::WED);
|
||||||
|
|
||||||
let bingbongvector = face.0 - CAMERA_POS + pos;
|
let bingbongvector = face.0 - CAMERA_POS + pos;
|
||||||
self.draw_line(face.0 + pos, V3(0.0, 0.0, -0.99), Color::WED);
|
|
||||||
if normal_vector.dot(bingbongvector) < 0.0 {
|
if normal_vector.dot(bingbongvector) < 0.0 {
|
||||||
self.draw_triangle(face.translate(pos - CAMERA_POS), outline_color);
|
self.draw_triangle(face.translate(pos - CAMERA_POS), outline_color);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user