use of monkstone.vecmath.JRender in project propane by ruby-processing.
the class Vec2 method toVertex.
/**
* To vertex
*
* @param context ThreadContext
* @param object IRubyObject vertex renderer
*/
@JRubyMethod(name = "to_vertex")
public void toVertex(ThreadContext context, IRubyObject object) {
JRender renderer = (JRender) object.toJava(JRender.class);
renderer.vertex(jx, jy);
}
Aggregations