Fastest pixel blitting renderer being created in Java. 3D renderer. For educational purposes and most importantly, FUN
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SigRenderer2/src/sig/Vector2.java

17 lines
265 B

package sig;
public class Vector2 {
public float u,v;
Vector2() {
this(0,0);
}
public Vector2(float u,float v) {
this.u=u;
this.v=v;
}
@Override
protected Object clone(){
return new Vector2(u,v);
}
}