mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 01:48:28 +00:00
Simplify
This commit is contained in:
parent
c0d515e47f
commit
47c935044a
@ -200,11 +200,7 @@ impl Renderer {
|
||||
let ab = b - a;
|
||||
let ac = c - a;
|
||||
|
||||
Vec3::new(
|
||||
ab.y * ac.z - ab.z * ac.y,
|
||||
ab.z * ac.x - ab.x * ac.z,
|
||||
ab.x * ac.y - ab.z * ac.x,
|
||||
)
|
||||
ab.cross(ac)
|
||||
};
|
||||
|
||||
for point in triangle {
|
||||
|
Loading…
Reference in New Issue
Block a user