Exemplo n.º 1
0
 private float substitute_plane_equation(final Vector3f vertex) {
   return (m_coefficients.x() * vertex.getX()
       + m_coefficients.y() * vertex.getY()
       + m_coefficients.z() * vertex.getZ()
       + m_coefficients.w());
 }
Exemplo n.º 2
0
 private float substitute_plane_equation(int x, int y, int z) {
   return (m_coefficients.x() * x
       + m_coefficients.y() * y
       + m_coefficients.z() * z
       + m_coefficients.w());
 }