Exemplo n.º 1
0
  public SModelDrawer(CCModel theModel) {
    _myModel = theModel;

    _myModelShader =
        new CCCGShader(
            CCIOUtil.classPath(this, "model_display.vp"),
            CCIOUtil.classPath(this, "model_display.fp"));
    _myModelShader.load();

    _myWallATex = new CCTexture2D(CCTextureIO.newTextureData("130223_wallmaskA2_highres.jpg"));
    _myWallBTex = new CCTexture2D(CCTextureIO.newTextureData("130223_wallmaskB2_highres.jpg"));
  }