Horde3D http://horde3d.org/forums/ |
|
h3dSetupViewport + SVN http://horde3d.org/forums/viewtopic.php?f=2&t=1503 |
Page 1 of 1 |
Author: | jamesl22 [ 17.04.2011, 18:06 ] |
Post subject: | h3dSetupViewport + SVN |
Hi, I'm trying to compile my code with the latest version of Horde3D from SVN. I am getting this error: Code: error: ‘h3dSetupViewport’ was not declared in this scope What has it been replaced with? |
Author: | jacereda [ 17.04.2011, 18:23 ] |
Post subject: | Re: h3dSetupViewport + SVN |
h3dSetNodeParamI() with H3DCamera::Viewport* |
Author: | jamesl22 [ 17.04.2011, 18:41 ] |
Post subject: | Re: h3dSetupViewport + SVN |
jacereda wrote: h3dSetNodeParamI() with H3DCamera::Viewport* Can you give an example? |
Author: | jacereda [ 17.04.2011, 18:56 ] |
Post subject: | Re: h3dSetupViewport + SVN |
Lua, just use the equivalent in C++: Code: h3d.setNodeParamI(self.node, H3DCamera.ViewportXI, 0)
h3d.setNodeParamI(self.node, H3DCamera.ViewportYI, 0) h3d.setNodeParamI(self.node, H3DCamera.ViewportWidthI, width) h3d.setNodeParamI(self.node, H3DCamera.ViewportHeightI, height) |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |