Subscribed unsubscribe Subscribe Subscribe

001_IPoint

create point objects

import processing.opengl.*;
import igeo.*;

size( 960, 720, IG.GL );

new IPoint(0,0,0).clr(1.0,0,0);  // red
new IPoint(20,0,0).clr(0,1.0,0); // grren
new IPoint(20,20,0).clr(0,0,1.0); // blue
new IPoint(0,20,0);