mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-16 03:34:42 +02:00
optimization
This commit is contained in:
@@ -7,10 +7,7 @@ function _vertex_normals(points, faces) =
|
||||
let(
|
||||
leng_pts = len(points),
|
||||
range = [0:leng_pts - 1],
|
||||
cnn_indices_faces = [
|
||||
for(face = faces, i = range)
|
||||
if(contains(face, i)) [i, face]
|
||||
]
|
||||
cnn_indices_faces = [for(face = faces, i = face) [i, face]]
|
||||
)
|
||||
[
|
||||
for(i = [0:leng_pts - 1])
|
||||
|
Reference in New Issue
Block a user