Loading and Saving my own Meshes

Blitz3D Forums/Blitz3D Beginners Area/Loading and Saving my own Meshes

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You can't depend on function parameters being evaluated in any particular order...

DoSomething f(x), g(x)

might call g before or f. Or maybe not.

This means you need to replace

temp_vertex=AddVertex(temp_surface,ReadFloat(file),ReadFloat(file),ReadFloat(file))

with

x# = ReadFloat(file)
y# = ReadFloat(file)
z# = ReadFloat(file)

temp_vertex = AddVertex temp_surface, x,y,z