loadModel

v0.1.7
loadModel(model);

Load a 3D model.

Arguments

modelThe 3D model

function setup()
  createWindow(600, 600, GL3D);
  
  ship = loadModel('path/to/your/ship.obj');
end

function draw()
  background('purple');

  model(ship);
end

Output

See loadModel in models.h