Newer
Older
AlgebraicDataflowArchitectureModel / GameEngine / src / main / java / gameEngine / views / ConnectionLine.java
NoranekoFelician 2 days ago 328 bytes EntityViewとComponentViewをついか
package gameEngine.views;

import org.joml.Vector3f;
import static org.lwjgl.opengl.GL11.*;

public class ConnectionLine {
    public static void drawLine(Vector3f start, Vector3f end) {
        glBegin(GL_LINES);
        glVertex3f(start.x, start.y, start.z);
        glVertex3f(end.x, end.y, end.z);
        glEnd();
    }

}