Count number of vertices instead of faces, added formatted_number to CommonMethods

This commit is contained in:
2018-12-11 12:27:23 -06:00
parent 82265394eb
commit 5843a9b0ae
7 changed files with 25 additions and 14 deletions

View File

@@ -21,8 +21,7 @@ class IMICFPS
end
@bounding_box_renderer.draw_bounding_boxes if $debug
$window.number_of_faces+=$window.number_of_faces if $debug
$window.number_of_faces+=@bounding_box_renderer.vertex_count/3 if $debug
$window.number_of_vertices+=@bounding_box_renderer.vertex_count if $debug
# @bounding_box_renderer.bounding_boxes.clear
end