Skip to content
Browse files

Fixed path to 3ds file

  • Loading branch information...
1 parent 12c13b4 commit 1a964af197bac31053b784452ef3d8f9993ee224 @kore kore committed Feb 23, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/examples/3ds.php
View
2 docs/examples/3ds.php
@@ -24,7 +24,7 @@
$sphere->transform($world->createMatrix('Move', array(70, 40, 0)));
// Import eines 3ds-Objekts (Schriftzug "Image 3D")
-$text = $world->createObject('3ds', 'docs/examples/models/Image_3D.3ds');
+$text = $world->createObject('3ds', __DIR__ . '/models/Image_3D.3ds');
$text->setColor(new Image_3D_Color(255, 255, 255, 180));
$text->transform($world->createMatrix('Rotation', array(90, 0, 0)));
$text->transform($world->createMatrix('Scale', array(5, 5, 5)));

0 comments on commit 1a964af

Please sign in to comment.
Something went wrong with that request. Please try again.