You saved my life
Search found 11 matches
- Tue Nov 27, 2007 9:11 pm
- Forum: Beginners Help
- Topic: Question about sleep()
- Replies: 4
- Views: 430
- Tue Nov 27, 2007 7:53 pm
- Forum: Beginners Help
- Topic: Question about sleep()
- Replies: 4
- Views: 430
- Tue Nov 27, 2007 7:16 pm
- Forum: Beginners Help
- Topic: Question about sleep()
- Replies: 4
- Views: 430
Question about sleep()
Hi!
I have a sleep function.
void sleep(float waitSec)
{
clock_t waitClock;
waitClock = (clock_t) (waitSec * CLOCKS_PER_SEC);
clock_t goal;
goal = waitClock + clock();
while (goal > clock());
}
void draw5pictures (IGUIEnvironment * environment, IVideoDriver * driver, IrrlichtDevice ...
I have a sleep function.
void sleep(float waitSec)
{
clock_t waitClock;
waitClock = (clock_t) (waitSec * CLOCKS_PER_SEC);
clock_t goal;
goal = waitClock + clock();
while (goal > clock());
}
void draw5pictures (IGUIEnvironment * environment, IVideoDriver * driver, IrrlichtDevice ...
- Thu Nov 08, 2007 10:37 pm
- Forum: Beginners Help
- Topic: Hold shift to make the FPS camera go faster
- Replies: 28
- Views: 2273
- Thu Sep 27, 2007 9:33 pm
- Forum: Code Snippets
- Topic: Loading a IRR scene the apply collision to static objects...
- Replies: 17
- Views: 13986
- Tue Sep 25, 2007 10:21 pm
- Forum: Beginners Help
- Topic: Don't pick through walls
- Replies: 4
- Views: 622
- Sun Sep 23, 2007 10:05 pm
- Forum: Beginners Help
- Topic: Don't pick through walls
- Replies: 4
- Views: 622
Don't pick through walls
Hi!
I have a house modell and a desk modell.
I made collision with SceneManager->getSceneCollisionManager()->getSceneNodeFromCameraBB and the collision itself works fine.
My problem is, that I can pick the desk modell through the walls too.
I tried something with masking but it didn't work.
Any ...
I have a house modell and a desk modell.
I made collision with SceneManager->getSceneCollisionManager()->getSceneNodeFromCameraBB and the collision itself works fine.
My problem is, that I can pick the desk modell through the walls too.
I tried something with masking but it didn't work.
Any ...
- Thu Sep 13, 2007 4:45 pm
- Forum: Project Announcements
- Topic: Tree Scene Node v2.1
- Replies: 234
- Views: 198115
- Sat Sep 08, 2007 1:30 pm
- Forum: Beginners Help
- Topic: Event on close
- Replies: 6
- Views: 925
- Fri Sep 07, 2007 10:46 pm
- Forum: Beginners Help
- Topic: Event on close
- Replies: 6
- Views: 925
- Fri Sep 07, 2007 8:57 pm
- Forum: Beginners Help
- Topic: Event on close
- Replies: 6
- Views: 925