put the code for making a model in a function, then include the .bb file.
Use the function for the model in the new program, then it will work.
example:
and this is kind of what model.bb should look like
Use the function for the model in the new program, then it will work.
example:
include "model.bb" DrawModel() ;user made function to draw the model from the include waitkey()
and this is kind of what model.bb should look like
Function DrawModel() ; you have to put the code in a function to use it sphere = createsphere() posionentity sphere 0,0,0 End Function