Package ca.eandb.jmist.framework

Examples of ca.eandb.jmist.framework.BoundingBoxBuilder2.reset()


        for (int tri = 0; tri < f.decomp.length; tri += 3) {
          Point2 a = T.times(texCoords.get(f.texIndices[f.decomp[tri]]));
          Point2 b = T.times(texCoords.get(f.texIndices[f.decomp[tri + 1]]));
          Point2 c = T.times(texCoords.get(f.texIndices[f.decomp[tri + 2]]));

          builder.reset();
          builder.add(a);
          builder.add(b);
          builder.add(c);

          Box2 bound = builder.getBoundingBox();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.