mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
we started initializing matrices; so changed code to follow the matrix consturcts
This commit is contained in:
parent
1b2600abf9
commit
49a62d6a3b
@ -260,8 +260,7 @@ class DirectBoundingBox:
|
|||||||
def computeTightBounds(self):
|
def computeTightBounds(self):
|
||||||
# Compute bounding box using tighter calcTightBounds function
|
# Compute bounding box using tighter calcTightBounds function
|
||||||
# Need to clear out existing transform on node path
|
# Need to clear out existing transform on node path
|
||||||
tMat = Mat4()
|
tMat = Mat4(self.nodePath.getMat())
|
||||||
tMat.assign(self.nodePath.getMat())
|
|
||||||
self.nodePath.clearMat()
|
self.nodePath.clearMat()
|
||||||
# Get bounds
|
# Get bounds
|
||||||
self.min = Point3(0)
|
self.min = Point3(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user