mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Fixed bounding box renderer not showing mesh objects bounding boxes.
This commit is contained in:
@@ -50,7 +50,7 @@ class IMICFPS
|
|||||||
|
|
||||||
object.model.objects.each do |mesh|
|
object.model.objects.each do |mesh|
|
||||||
data = {}
|
data = {}
|
||||||
box = object.normalize_bounding_box
|
box = mesh.bounding_box.normalize(object)
|
||||||
|
|
||||||
normals = mesh_normals
|
normals = mesh_normals
|
||||||
colors = mesh_colors(mesh.debug_color)
|
colors = mesh_colors(mesh.debug_color)
|
||||||
|
|||||||
Reference in New Issue
Block a user