Package org.earth3d.jearth.math

Examples of org.earth3d.jearth.math.BoundingSphere


    if (node == null) return(true);

    /* multiply one vector with the matrix */
//    Point3D v = ((TextureTreeNodeCore *)(node.getCore(0))).vertex[0];

    BoundingSphere bs = node.getBoundingSphere();
    boolean result = frustum.sphereInFrustum((float) bs.center.x, (float) bs.center.y, (float) bs.center.z, (float) bs.radius);

    if (!result) {
      return(result);
    }
View Full Code Here

TOP

Related Classes of org.earth3d.jearth.math.BoundingSphere

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.