GLBasic forum

Main forum => Bug Reports => Topic started by: FutureCow on 2009-Dec-11

Title: Shadows demo code broken
Post by: FutureCow on 2009-Dec-11
I went looking for some code to create a cube (easier to copy someone else's so I don't have to work out the proper texture coordinate settings for each vertex  :D ). According to a forum post there was code in the 3D shadows example.

Looking at the 3D shadows example in the samples folder it is missing the code for the "CreateCube" and "CreateTorus" functions.

The code (to save you having to rewrite it or search for it) appears to be here
http://www.glbasic.com/forum/index.php?topic=539.msg2262#msg2262 (http://www.glbasic.com/forum/index.php?topic=539.msg2262#msg2262)
Title: Re: Shadows demo code broken
Post by: MrTAToad on 2009-Dec-11
The project should have a source file pointing to 3DPrimatives.gbas
Title: Re: Shadows demo code broken
Post by: FutureCow on 2009-Dec-12
Oops! Sorry, I didn't think to load the project as there were no other gbas files in the directory. I didn't think that it might load a gbas file from a different directory tree. Oops!  :-[