Class MeshSmoother

  • All Implemented Interfaces:
    java.io.Serializable

    public class MeshSmoother
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • m_iVQuantity

        protected int m_iVQuantity
      • m_akVertex

        protected Vector3f[] m_akVertex
      • m_iTQuantity

        protected int m_iTQuantity
      • m_aiIndex

        protected int[] m_aiIndex
      • m_akNormal

        protected Vector3f[] m_akNormal
      • m_akMean

        protected Vector3f[] m_akMean
      • m_aiNeighborCount

        protected int[] m_aiNeighborCount
    • Constructor Detail

      • MeshSmoother

        public MeshSmoother()
      • MeshSmoother

        public MeshSmoother​(int iVQuantity,
                            Vector3f[] akVertex,
                            int iTQuantity,
                            int[] aiIndex)
    • Method Detail

      • Create

        public void Create​(int iVQuantity,
                           Vector3f[] akVertex,
                           int iTQuantity,
                           int[] aiIndex)
      • Destroy

        public void Destroy()
      • dispose

        public void dispose()
      • GetIndices

        public int[] GetIndices()
      • GetMeans

        public Vector3f[] GetMeans()
      • GetNormals

        public Vector3f[] GetNormals()
      • GetTQuantity

        public int GetTQuantity()
      • GetVertices

        public Vector3f[] GetVertices()
      • GetVQuantity

        public int GetVQuantity()
      • Update

        public void Update()
      • Update

        public void Update​(float fTime)
      • GetNormalWeight

        protected float GetNormalWeight​(int i,
                                        float fTime)
      • GetTangentWeight

        protected float GetTangentWeight​(int i,
                                         float fTime)
      • VertexInfluenced

        protected boolean VertexInfluenced​(int i,
                                           float fTime)