Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / dll question

Author
Message
Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 26th May 2006 03:01 Edited at: 26th May 2006 03:13
alright. Im working on an irrlicht dll wrapper, but i've come across a problem. I know,this is noobish, but anyways, in irrlicht the cameras are in scene nodes,and you can give them ids. But, my question is how to give them ids. I tried this:




edit:

nevermind. I know how to get a camera. But is the char camid right?

and also, in the code now im using :


all ben needs is his band,his guitar,and his computer
Scilynt
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: .-#-.
Posted: 26th May 2006 03:14
First, why is camid a char?

Next, the addCameraSceneNode takes the following parameters:

( ISceneNode * parent, vector3df & position, vector3df & lookat, s32 id )

So by that you can see the ID is the last parameter, and is of type s32, which is a signed int.

The return value is a pointer to the camera and should be stored in a variable of type ICameraSceneNode*.
Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 26th May 2006 03:21
alright. Im guessing using the camid as an integer would be smarter. I understand it now. If im wrong about the integer,stop me. If im not,thankyou so much. I understand a lot of things now

all ben needs is his band,his guitar,and his computer
Scilynt
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: .-#-.
Posted: 26th May 2006 03:58
Yeah, integer will be fine.
Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 26th May 2006 22:41 Edited at: 26th May 2006 23:28
~Accidental post~

all ben needs is his band,his guitar,and his computer
Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 26th May 2006 23:06 Edited at: 26th May 2006 23:28
If you read the above post, sorry. Im back to normal now.

all ben needs is his band,his guitar,and his computer

Login to post a reply

Server time is: 2024-11-22 05:56:04
Your offset time is: 2024-11-22 05:56:04