mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Count number of vertices instead of faces, added formatted_number to CommonMethods
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user