| View previous topic :: View next topic |
| Author |
Message |
canalaiz
Joined: 22 Aug 2005 Posts: 2
|
Posted: Mon Jun 05, 2006 5:31 pm Post subject: [LuaPlayer 0.20] - 3D issue? |
|
|
Hi everybody,
while testing some old code with the newest version of luaplayer, something strange happens.
Actually this line:
| Code: | | Gum.drawArray(Gu.TRIANGLES, Gu.TEXTURE_32BITF|Gu.COLOR_8888|Gu.VERTEX_32BITF|Gu.TRANSFORM_3D, plane) |
returns the error ')' expected near '|'
The same error applies to the 3d cube sample application.
Any info? |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Mon Jun 05, 2006 5:39 pm Post subject: Re: [LuaPlayer 0.20] - 3D issue? |
|
|
| See the release note: "it's pure Lua 5.1: no binary operators". Use "+" instead of "|", like in my cube example shipped with the 0.20 release of Lua Player. |
|
| Back to top |
|
 |
canalaiz
Joined: 22 Aug 2005 Posts: 2
|
Posted: Mon Jun 05, 2006 5:46 pm Post subject: |
|
|
Sorry Shine, i feel kinda dumb :P
Thanks again for the ready support :) |
|
| Back to top |
|
 |
|