A dungeon delver roguelike using Pathfinder 2nd edition rules
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Formatting

+3 -2
+3 -2
main.go
··· 1 1 package main 2 2 3 3 import ( 4 + "time" 5 + 4 6 "github.com/g3n/engine/app" 5 7 "github.com/g3n/engine/camera" 6 8 "github.com/g3n/engine/core" ··· 14 16 "github.com/g3n/engine/renderer" 15 17 "github.com/g3n/engine/util/helper" 16 18 "github.com/g3n/engine/window" 17 - "time" 18 19 ) 19 20 20 21 func main() { ··· 46 47 onResize("", nil) 47 48 48 49 // Create a blue torus and add it to the screen 49 - geom := geometry.NewTorus(1, 0.4, 12, 32, math32.Pi * 2) 50 + geom := geometry.NewTorus(1, 0.4, 12, 32, math32.Pi*2) 50 51 mat := material.NewStandard(math32.NewColor("DarkBlue")) 51 52 mesh := graphic.NewMesh(geom, mat) 52 53 scene.Add(mesh)