Package jray.model

Examples of jray.model.ModelInstance


       
        int nx = 2;
        int ny = 4;
        for(int i=-nx;i<=nx;i++)
          for(int j=-ny;j<=ny;j++)
            objects.add(new ModelInstance(new Vect3(i*15+(j%2)*7,0,(j+4)*-15),model));
       
        //objects.add(new Plane(new Vect3(0,0,0),new Vect3(0,1,0),0xFFFFFFFF));
        tree = Octree.buildTree(new Vect3(0,0,0),objects);
    }
View Full Code Here

TOP

Related Classes of jray.model.ModelInstance

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.