Class Mesh

java.lang.Object
org.xjge.graphics.Mesh

public final class Mesh
extends java.lang.Object
Represents a 3D polygonal collection of vertices, edges, and faces that will define the shape of a Model. Contains a single 4x4 matrix that can be used by the implementation to change the orientation of the mesh in world space.
Since:
2.0.0
  • Field Summary

    Fields
    Modifier and Type Field Description
    org.joml.Matrix4f modelMatrix  
    java.lang.String name  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      public final java.lang.String name
    • modelMatrix

      public org.joml.Matrix4f modelMatrix