
glm.vec._3.us.Vec3us Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glm Show documentation
Show all versions of glm Show documentation
Java OpenGL Mathematics is a library for graphics software based on the OpenGL Shading Language specifications
/*
* 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._3.us;
import joou.UShort;
/**
*
* @author GBarbieri
*/
public class Vec3us extends FuncRelational {
public Vec3us() {
x.value = 0;
y.value = 0;
z.value = 0;
}
public Vec3us(int x, int y, int z) {
this((short) x, (short) y, (short) z);
}
public Vec3us(short x, short y, short z) {
this.x.value = x;
this.y.value = y;
this.z.value = z;
}
public Vec3us set(UShort x, UShort y, UShort z) {
this.x = x;
this.y = y;
this.z = z;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy