mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
update resource naming in getObjectAABB()
This commit is contained in:
parent
cd04911f3c
commit
9f813aa26c
@ -12,8 +12,6 @@
|
|||||||
|
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#define BIT(x) (1<<(x))
|
#define BIT(x) (1<<(x))
|
||||||
|
|
||||||
namespace OEngine {
|
namespace OEngine {
|
||||||
@ -576,14 +574,13 @@ namespace Physic
|
|||||||
char uniqueID[8];
|
char uniqueID[8];
|
||||||
sprintf( uniqueID, "%07.3f", scale );
|
sprintf( uniqueID, "%07.3f", scale );
|
||||||
std::string sid = uniqueID;
|
std::string sid = uniqueID;
|
||||||
std::string outputstring = mesh + uniqueID + "\"|";
|
std::string outputstring = mesh + uniqueID;
|
||||||
|
|
||||||
mShapeLoader->load(outputstring, "General");
|
mShapeLoader->load(outputstring, "General");
|
||||||
BulletShapeManager::getSingletonPtr()->load(outputstring, "General");
|
BulletShapeManager::getSingletonPtr()->load(outputstring, "General");
|
||||||
BulletShapePtr shape =
|
BulletShapePtr shape =
|
||||||
BulletShapeManager::getSingleton().getByName(outputstring, "General");
|
BulletShapeManager::getSingleton().getByName(outputstring, "General");
|
||||||
|
|
||||||
|
|
||||||
btTransform trans;
|
btTransform trans;
|
||||||
btVector3 btmin, btmax;
|
btVector3 btmin, btmax;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user