~matt();
Search found 81 matches
- Mon Aug 07, 2006 7:31 pm
- Forum: Open Discussion and Dev Announcements
- Topic: irrlicht 1.10 - Source is unzipped
- Replies: 9
- Views: 1403
- Wed Aug 10, 2005 11:47 pm
- Forum: Advanced Help
- Topic: Very goofy pointer issue with cameras
- Replies: 12
- Views: 1499
Re: Very goofy pointer issue with cameras
Hi DrA,
there are some cases of multiple inheritance, where static C-casts can cause problems, and maybe you just discovered one. Try new CCameraSimpleNode(static_cast<ISceneNode*>(smgr), smgr, id) instead, and it should work.
Cheers
hearsedriver
there are some cases of multiple inheritance, where static C-casts can cause problems, and maybe you just discovered one. Try new CCameraSimpleNode(static_cast<ISceneNode*>(smgr), smgr, id) instead, and it should work.
Cheers
hearsedriver
- Thu Jul 28, 2005 9:46 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: More begginer stuff : Enemies and rotation -code snippet-
- Replies: 3
- Views: 2746
Re: Using modulus
you can use modulus to contrain in between 0 and 359:
angle.X = angle.X % 359;
or:
angle.X = (angle.X-90) % 359;
It should read "% 360". Modulo is the rest of the division, hence to get values between 0 and 359 you need the rest of the division by 360. Anyway, we're talking about floats here ...
angle.X = angle.X % 359;
or:
angle.X = (angle.X-90) % 359;
It should read "% 360". Modulo is the rest of the division, hence to get values between 0 and 359 you need the rest of the division by 360. Anyway, we're talking about floats here ...
- Fri Apr 08, 2005 12:03 am
- Forum: Project Announcements
- Topic: Bindenlicht - Java binding for Irrlicht
- Replies: 36
- Views: 11493
- Thu Mar 31, 2005 7:56 pm
- Forum: Project Announcements
- Topic: Bindenlicht - Java binding for Irrlicht
- Replies: 36
- Views: 11493
- Fri Mar 11, 2005 10:03 pm
- Forum: Off-topic
- Topic: Post removed.
- Replies: 1
- Views: 713
- Sat Jul 31, 2004 7:39 pm
- Forum: Beginners Help
- Topic: Strange numbers like 3.1415f ...
- Replies: 5
- Views: 1537
This magic number is the constant PI, which is 180 degrees in radians. The f behind the number helps the compiler to distinguish 32-bit floats and 64-bit doubles. Because setFOV expects floats, and the compiler assumes 64-bit double for floating point constants without the "f", using the constant ...
- Mon Mar 08, 2004 12:47 am
- Forum: Off-topic
- Topic: My New Avatar!
- Replies: 5
- Views: 2190
I loved it so much I wet my pants when I saw it for the first time.
(Seriously, your avatar and your nick remind me of another hobby of mine. But I guess this is not the right place to go into details. Unfortunately Niko put a quite restrictive limit on the avatar size, so I can't use my avatar of ...
(Seriously, your avatar and your nick remind me of another hobby of mine. But I guess this is not the right place to go into details. Unfortunately Niko put a quite restrictive limit on the avatar size, so I can't use my avatar of ...
- Tue Mar 02, 2004 8:00 pm
- Forum: Open Discussion and Dev Announcements
- Topic: UML Software?
- Replies: 16
- Views: 3756
Our UML tool of choice is Enterprise Architect. A trial version is available at http://www.sparxsystems.com.au/ . But I must admit that I don't do any CA modelling for my C++ code - I prefer an XP like approach for my spare time projects -, and use the Omondo UML plugin for Eclipse when it comes to ...
- Tue Mar 02, 2004 1:07 am
- Forum: Beginners Help
- Topic: WASD Controlling
- Replies: 1
- Views: 707
- Mon Mar 01, 2004 5:50 pm
- Forum: Advanced Help
- Topic: 3d position from 2d position
- Replies: 3
- Views: 1934
- Sat Feb 28, 2004 10:11 pm
- Forum: Beginners Help
- Topic: Whats with the os namespace?????
- Replies: 3
- Views: 1114
- Fri Feb 27, 2004 7:20 pm
- Forum: Advanced Help
- Topic: User Defined Method in Irrlicht
- Replies: 1
- Views: 884
- Sun Nov 30, 2003 12:19 am
- Forum: Advanced Help
- Topic: Making MD2 files?
- Replies: 4
- Views: 2673
Free models, e.g. from www.polycount.comSpartacus wrote:Yea I noticed one those ones :/ I wonder what niko used (uses)?
Cheers.
- Sun Nov 02, 2003 9:39 pm
- Forum: Beginners Help
- Topic: Rotating and moving
- Replies: 25
- Views: 4724