TestTextureState.class.getClassLoader().getResource("jmetest/data/images/Monkey.jpg"),
TestTextureState.class.getClassLoader().getResource("jmetest/data/model/marble.bmp"),
    protected void initGame() {        Vector3f[] verts = new Vector3f[3];        ColorRGBA[] color = new ColorRGBA[3];        Vector2f[] tex = new Vector2f[3];        verts[0] = new Vector3f();        verts[0].x = -50;        verts[0].y = 0;        verts[0].z = 0;        verts[1] = new Vector3f();        verts[1].x = -50;        verts[1].y = 25;        verts[1].z = 25;        verts[2] = new Vector3f();        verts[2].x = -50;        verts[2].y = 25;        verts[2].z = 0;        tex[0] = new Vector2f();        tex[0].x = 1;        tex[0].y = 0;        tex[1] = new Vector2f();        tex[1].x = 1;        tex[1].y = 1;        tex[2] = new Vector2f();        tex[2].x = 0;        tex[2].y = 1;                color[0] = new ColorRGBA();        color[0].r = 1;        color[0].g = 0;        color[0].b = 0;        color[0].a = 1;        color[1] = new ColorRGBA();        color[1].r = 0;        color[1].g = 1;        color[1].b = 0;        color[1].a = 1;        color[2] = new ColorRGBA();        color[2].r = 0;        color[2].g = 0;        color[2].b = 1;        color[2].a = 1;        int[] indices = { 0, 1, 2 };        t = new TriMesh("Triangle", verts, null, color, tex, indices);        t.setModelBound(new BoundingSphere());        t.updateModelBound();        Vector3f[] verts2 = new Vector3f[3];        ColorRGBA[] color2 = new ColorRGBA[3];        verts2[0] = new Vector3f();        verts2[0].x = -40;        verts2[0].y = 10;        verts2[0].z = 0;        verts2[1] = new Vector3f();        verts2[1].x = -40;        verts2[1].y = 35;        verts2[1].z = 15;        verts2[2] = new Vector3f();        verts2[2].x = -10;        verts2[2].y = 35;        verts2[2].z = -10;        color2[0] = new ColorRGBA();        color2[0].r = 1;        color2[0].g = 0;        color2[0].b = 0;        color2[0].a = 1;        color2[1] = new ColorRGBA();        color2[1].r = 0;        color2[1].g = 1;        color2[1].b = 0;        color2[1].a = 1;        color2[2] = new ColorRGBA();        color2[2].r = 0;        color2[2].g = 0;        color2[2].b = 1;        color2[2].a = 1;        int[] indices2 = { 0, 1, 2 };        t2 = new TriMesh("Triangle 2", verts2, null, color2, tex, indices2);        t2.setModelBound(new BoundingSphere());        t2.updateModelBound();        System.out.println(t.getModelBound());        cam.update();        scene = new Node("Scene Node");        scene.attachChild(t);        scene.attachChild(t2);        scene.setLocalTranslation(new Vector3f(0, -25, 0));        TextureState ts = display.getRenderer().getTextureState();        ts.setEnabled(true);        ts.setTexture(            TextureManager.loadTexture(                TestTextureState.class.getClassLoader().getResource("jmetest/data/images/Monkey.jpg"),                Texture.MM_LINEAR,                Texture.FM_LINEAR,                true));        t2.setRenderState(ts);        cam.update();        scene.updateGeometricState(0.0f, true);    }