From 220e0ed712bf98a9a77e1f4fbfedaa40b12da6b0 Mon Sep 17 00:00:00 2001 From: dbenavid Date: Tue, 5 Sep 2023 19:29:11 -0400 Subject: [PATCH] Ray scene loading. --- examples/splashmenu/main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/splashmenu/main.go b/examples/splashmenu/main.go index 9ad2c6c..07f95b2 100644 --- a/examples/splashmenu/main.go +++ b/examples/splashmenu/main.go @@ -37,7 +37,8 @@ func loadScenes(m *groovy.Manager) { //loadMenu(m) //loadNoise(m) //loadSplashpad(m) - loadParallax(m) + //loadParallax(m) + loadRays(m) //reset the manager to start scene 1 m.ResetScenes() @@ -95,3 +96,8 @@ func loadParallax(m *groovy.Manager) { m.AddScene(&sceneParallax) sceneParallax.InitializeParallax() } + +func loadRays(m *groovy.Manager) { + sceneRays := splashmenu.NewRays() + m.AddScene(&sceneRays) +}