We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86a16a1 commit 6495c0aCopy full SHA for 6495c0a
settings.conf
@@ -0,0 +1,4 @@
1
+windowWidth: 800;
2
+windowHeight: 600;
3
+fullscreen: 0;
4
+mouseSensibility: 0.1;
tutorial1/main.d
@@ -39,7 +39,7 @@ class MyApplication: SceneApplication
39
{
40
this(string[] args)
41
42
- super(1280, 720, false, "Dagon tutorial 1. Simple application", args);
+ super("Dagon tutorial 1. Simple application", args);
43
44
TestScene test = New!TestScene(sceneManager);
45
sceneManager.addScene(test, "TestScene");
tutorial2/main.d
@@ -45,7 +45,7 @@ class MyApplication: SceneApplication
46
47
48
- super(1280, 720, false, "Dagon tutorial 2. Textures", args);
+ super("Dagon tutorial 2. Textures", args);
49
50
51
tutorial3/main.d
@@ -51,7 +51,7 @@ class MyApplication: SceneApplication
52
53
54
- super(1280, 720, false, "Dagon tutorial 3. Normal maps", args);
+ super("Dagon tutorial 3. Normal maps", args);
55
56
57
tutorial4/main.d
@@ -47,16 +47,16 @@ class TestScene: Scene
ePlane.drawable = New!ShapePlane(10, 10, 1, assetManager);
ePlane.material = matGround;
- auto light1 = createLight(Vector3f(-2, 1, 0), Color4f(1.0f, 1.0f, 0.0f), 10.0f, 5.0f, 0.1f);
- auto light2 = createLight(Vector3f(2, 1, 0), Color4f(0.0f, 1.0f, 1.0f), 10.0f, 5.0f, 0.1f);
+ auto light1 = createLightSphere(Vector3f(-2, 1, 0), Color4f(1.0f, 1.0f, 0.0f), 10.0f, 5.0f, 0.1f);
+ auto light2 = createLightSphere(Vector3f(2, 1, 0), Color4f(0.0f, 1.0f, 1.0f), 10.0f, 5.0f, 0.1f);
}
class MyApplication: SceneApplication
58
59
- super(1280, 720, false, "Dagon tutorial 4. Light sources", args);
+ super("Dagon tutorial 4. Light sources", args);
60
61
62
tutorial5/main.d
@@ -58,7 +58,7 @@ class MyApplication: SceneApplication
- super(1280, 720, false, "Dagon tutorial 5. Environment maps", args);
+ super("Dagon tutorial 5. Environment maps", args);
63
64
0 commit comments