problem with simple code

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Kaeles
Posts: 37
Joined: Thu Jun 03, 2004 12:43 am
Location: oklahoma
Contact:

problem with simple code

Post by Kaeles »

terrain = smgr->addTerrainMesh(terrain,texture,heightmap,
core::dimension2d< f32 >(10.0f,10.0f),
/*it says theres a parse error on this line -->*/ f32 200.0f,
core::dimension2d< s32 >(64,64));


i just dont understand!!! :cry:
madinitaly
Posts: 92
Joined: Sat Nov 29, 2003 8:30 pm
Contact:

Post by madinitaly »

Try this:

Code: Select all

terrain = smgr->addTerrainMesh (terrain,texture,heightmap,
core::dimension2d< f32 >(10.0f,10.0f), 200.00,  core::dimension2d< s32 >(64,64));
Guest

Post by Guest »

well, that was simple, i feel like a dork.... hehe
Post Reply