All Downloads are FREE. Search and download functionalities are using the official Maven repository.

glf.Vertex_v2fc4f Maven / Gradle / Ivy

Go to download

Java OpenGL Mathematics is a library for graphics software based on the OpenGL Shading Language specifications

There is a newer version: 1.0.1
Show newest version
/*
 * 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._2.Vec2;
import glm.vec._4.Vec4;

/**
 *
 * @author GBarbieri
 */
public class Vertex_v2fc4f {

    public static final int SIZE = Vec4.SIZE + Vec2.SIZE;

    public Vec4 position;
    public Vec2 texCoord;

    public Vertex_v2fc4f() {
    }

    public Vertex_v2fc4f(Vec4 position, Vec2 texCoord) {
        this.position = position;
        this.texCoord = texCoord;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy