
glf.Vertex_v3fn3fc4f 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 glf;
import glm.vec._3.Vec3;
import glm.vec._4.Vec4;
/**
*
* @author GBarbieri
*/
public class Vertex_v3fn3fc4f {
public Vec3 position;
public Vec3 texCoord;
public Vec4 color;
public Vertex_v3fn3fc4f(Vec3 position, Vec3 texCoord, Vec4 color) {
this.position = position;
this.texCoord = texCoord;
this.color = color;
}
public static final int SIZE = 2 * Vec3.SIZE + Vec4.SIZE;
public static final int OFFSET_POSITION = 0;
public static final int OFFSET_NORMAL = Vec3.SIZE;
public static final int OFFSET_COLOR = 2 * Vec3.SIZE;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy