| 4897 | } |
| 4898 | |
| 4899 | NxActorWrapper* LoadSingleFile(QString Inpt) |
| 4900 | { |
| 4901 | |
| 4902 | FileSystemActor *obj; |
| 4903 | Vec3 dims, vel; |
| 4904 | vel = Vec3(0.0f); |
| 4905 | |
| 4906 | // Create the actor with proportionate size and the right texture |
| 4907 | obj = FileSystemActorFactory::createFileSystemActor(Inpt); |
| 4908 | obj->setGlobalPosition(Vec3(0, cam->getEye().y, 0)); |
| 4909 | obj->setGlobalOrientation(GLOBAL(straightIconOri)); |
| 4910 | obj->setDims(Vec3(GLOBAL(settings).maxImageSize, GLOBAL(settings).maxImageSize, GLOBAL(settings).yDist)); |
| 4911 | obj->setFilePath(Inpt); |
| 4912 | obj->enableThumbnail(); |
| 4913 | |
| 4914 | return obj; |
| 4915 | } |
| 4916 | |
| 4917 | void PushActorAboveGround(NxActorWrapper* a, float extraPush, bool alwaysPush) |
| 4918 | { |
nothing calls this directly
no test coverage detected