glm.vec._4.us.Vec4us Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package glm.vec._4.us;
import joou.UShort;
/**
*
* @author GBarbieri
*/
public class Vec4us extends FuncRelational {
public Vec4us() {
x.value = 0;
y.value = 0;
z.value = 0;
w.value = 0;
}
public Vec4us(int x, int y, int z, int w) {
this((short) x, (short) y, (short) z, (short) w);
}
public Vec4us(short x, short y, short z, short w) {
this.x.value = x;
this.y.value = y;
this.z.value = z;
this.w.value = w;
}
public Vec4us set(UShort x, UShort y, UShort z, UShort w) {
this.x = x;
this.y = y;
this.z = z;
this.w = w;
return this;
}
}