Package com.ngt.jopenmetaverse.shared.sim.rendering.mesh

Examples of com.ngt.jopenmetaverse.shared.sim.rendering.mesh.BoundingVolume


          }
          else
          {
            rPrim = new RenderPrimitive();
            rPrim.Meshed = false;
            rPrim.BoundingVolume = new BoundingVolume();
            rPrim.BoundingVolume.FromScale(prim.Scale);
          }
          rPrim.setBasePrim(prim);
          if(prim.ParentID != 0)
          {
View Full Code Here


  private void CalculateBoundingBox(RenderPrimitive rprim) throws Exception
  {
    Primitive prim = rprim.getBasePrim();

    // Calculate bounding volumes for each prim and adjust textures
    rprim.BoundingVolume = new BoundingVolume();
    for (int j = 0; j < rprim.Faces.size(); j++)
    {
      TextureEntryFace teFace = prim.Textures.GetFace(j);
      if (teFace == null) continue;
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.sim.rendering.mesh.BoundingVolume

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.