Просмотр исходного кода

Rebased 3D Audio on screenrewrite

Joachim Meyer 12 лет назад
Родитель
Сommit
45c177b68e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Examples/C++/Contents/3DAudio/HelloPolycodeApp.cpp

+ 1 - 1
Examples/C++/Contents/3DAudio/HelloPolycodeApp.cpp

@@ -18,7 +18,7 @@ HelloPolycodeApp::HelloPolycodeApp(PolycodeView *view) {
 	sourceEntity->addChild(soundShape);	
 	scene->addEntity(sourceEntity);
 	
-	SceneLight *light = new SceneLight(SceneLight::AREA_LIGHT, scene, 1000);
+	SceneLight *light = new SceneLight(SceneLight::POINT_LIGHT, scene, 1000);
 	scene->addLight(light);
 
 	SceneSoundListener *soundListener = new SceneSoundListener();