mechanicmarx / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Bounds are not updated correctly for manual meshes #292

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create mesh/submesh at runtime, esp. using clone()
2. display bounds in Ogre
3. bounds are incorrect

Patch adds 2 manual methods to update bounds manually.

Original issue reported on code.google.com by vek...@gmail.com on 30 Dec 2012 at 9:58

Attachments:

GoogleCodeExporter commented 8 years ago
By the way I forgot to mention it also seems there's no way to sync up the 
gkMesh bounds to the Ogre mesh bounds after the mesh has been loaded, this is 
because the _setBounds method is only called once when the resource is loaded 
under gkMeshLoader::loadResource()

Original comment by vek...@gmail.com on 30 Dec 2012 at 10:05