Shadows demo code broken

Previous topic - Next topic

FutureCow

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

MrTAToad

The project should have a source file pointing to 3DPrimatives.gbas

FutureCow

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!  :-[