Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
smart-fun committed May 16, 2018
1 parent 7040fc6 commit ac6aa64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public class MainActivity extends AppCompatActivity implements SmartGLViewContro
RenderPassSprite renderPassSprite = new RenderPassSprite();
renderer.addRenderPass(renderPassSprite); // add it only once for all Sprites

// the drawable must be a picture (jpg or png), not a vector (xml)
mSpriteTexture = new Texture(context, R.drawable.planet);

mSprite = new Sprite(120, 120); // 120 x 120 pixels
Expand Down Expand Up @@ -211,6 +212,7 @@ public class MainActivity extends AppCompatActivity implements SmartGLViewContro
RenderPassObject3D renderPassObject3D = new RenderPassObject3D();
renderer.addRenderPass(renderPassObject3D); // add it only once for all 3D Objects

// the drawable must be a picture (jpg or png), not a vector (xml)
mShipTexture = new Texture(context, R.drawable.ship_picture);

WavefrontModel model = new WavefrontModel.Builder(context, R.raw.spaceship_obj)
Expand Down

0 comments on commit ac6aa64

Please sign in to comment.