HE_Mesh : nothing happens with drawSegment
in
Contributed Library Questions
•
6 months ago
hi
i'm dissapointed of my misunderstanding, i start with he_mesh powerful library and i try maybe the simplest custom example
i use render.drawSegment but nothing appears on the screen
/////
import wblut.math.*;
import wblut.processing.*;
import wblut.core.*;
import wblut.hemesh.*;
import wblut.geom.*;
import processing.opengl.*;
WB_Render render;
WB_ExplicitSegment segment;
void setup() {
size(600, 600, OPENGL);
segment = new WB_ExplicitSegment(0, 0, 0, 100, 100, 0);
render=new WB_Render(this);
}
void draw() {
render.drawSegment(segment);
}
////
Best regards
1