Browse Source

Update Model:getAABB;

bjorn 7 năm trước cách đây
mục cha
commit
2efbe59a5c
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      api/lovr/graphics/Model/getAABB.lua

+ 4 - 0
api/lovr/graphics/Model/getAABB.lua

@@ -34,6 +34,10 @@ return {
       description = 'The maximum z coordinate of the box.'
     }
   },
+  notes = [[
+    Note that currently this function returns the bounding box for the default animation pose, so it
+    won't update based on the current Animator pose.
+  ]],
   related = {
     'Collider:getAABB'
   }