glf.Vertex_v3fn3f 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_v3fn3f {
public Vec3 position;
public Vec3 normal;
public Vertex_v3fn3f(Vec3 position, Vec3 normal) {
this.position = position;
this.normal = normal;
}
public static final int SIZE = 2 * Vec3.SIZE;
public static final int OFFSET_POSITION = 0;
public static final int OFFSET_NORMAL = Vec3.SIZE;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy