use of org.sunflow.math.Point2 in project joons-renderer by joonhyublee.
the class ShadingState method init.
/**
* Create objects needed for surface shading: point, normal, texture
* coordinates and basis.
*/
public final void init() {
p = new Point3();
n = new Vector3();
tex = new Point2();
ng = new Vector3();
basis = null;
}