Search found 6 matches
- Wed Nov 09, 2005 2:17 pm
- Forum: Beginners Help
- Topic: virtual void Point(irr::core::vector3df Vec2,f32 Speed)
- Replies: 6
- Views: 380
- Wed Nov 09, 2005 7:34 am
- Forum: Beginners Help
- Topic: virtual void Point(irr::core::vector3df Vec2,f32 Speed)
- Replies: 6
- Views: 380
Okay, It works now but only if my function isn't virtual.
Actually this:
makes my program crash too !
Why do i can't add virutal fonction ?
Actually this:
Code: Select all
virtual void A()
{
}
Why do i can't add virutal fonction ?
- Wed Nov 09, 2005 12:04 am
- Forum: Beginners Help
- Topic: virtual void Point(irr::core::vector3df Vec2,f32 Speed)
- Replies: 6
- Views: 380
virtual void Point(irr::core::vector3df Vec2,f32 Speed)
Hi guys, I'm trying to add a new virtual member to the ISceneNode class. This is the fonction: virtual void Point(irr::core::vector3df Vec2,f32 Speed) { core::vector3df Vec = this*->getPosition(); Vec.X+=(Speed*((Vec2.X-Vec.X)/sqrt((Vec2.X-Vec.X)*(Vec2.X-Vec.X)+(Vec2.Z-Vec.Z)*(Vec2.Z-Vec.Z)))); Vec....
- Tue Nov 08, 2005 11:28 am
- Forum: Off-topic
- Topic: Hi everybody ;) !
- Replies: 7
- Views: 489
- Mon Nov 07, 2005 8:09 pm
- Forum: Off-topic
- Topic: Hi everybody ;) !
- Replies: 7
- Views: 489
- Mon Nov 07, 2005 6:34 pm
- Forum: Off-topic
- Topic: Hi everybody ;) !
- Replies: 7
- Views: 489
Hi everybody ;) !
Hi guys, a friend talks me about Irrlicht so i'm gonna try to learn more about it. Actually that's why i come introduce myself around here :wink:. I've seen some screenshots about what we can do with this engine and that's look amazing. Actually i use to program with 3d games creator, now i'm a bit ...