def calculateBoundingSphere(self): #self.boundingSphere = BoundingVolumes.createSphereAroundSpheres( [x.boundingSphere for x in self.meshes ] ) self.boundingSphere = BoundingVolumes.createSphereAroundPoints( [vec3(x[0], x[1], x[2]) for x in self.allVertices()] )
def calculateBoundingSphere(self): #self.boundingSphere = BoundingVolumes.createSphereAroundSpheres( [x.boundingSphere for x in self.meshes ] ) self.boundingSphere = BoundingVolumes.createSphereAroundPoints( [vec3(x[0], x[1], x[2]) for x in self.allVertices()])
def calculateBoundingSphere(self): self.boundingSphere = BoundingVolumes.createSphereAroundPoints( [vec3(x[0], x[1], x[2]) for x in self.vertices_gl] )
def calculateBoundingSphere(self): self.boundingSphere = BoundingVolumes.createSphereAroundPoints( [vec3(x[0], x[1], x[2]) for x in self.vertices_gl])