mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-10 02:26:29 -05:00
* removed position,scale,rotation components * added Transform component that contains position, rotation, and scale * scene graph update now regenerates the local mat4 using the transform component * akara bugfix: adding new subscriptions will process existing entities * added `--testscene` arg for testing individual scenes in isolation * added rotation support to d2interface.Surface
12 lines
213 B
Go
12 lines
213 B
Go
package d2app
|
|
|
|
import (
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2core/d2systems"
|
|
"github.com/gravestench/akara"
|
|
)
|
|
|
|
func Run() {
|
|
cfg := akara.NewWorldConfig().With(&d2systems.AppBootstrap{})
|
|
akara.NewWorld(cfg)
|
|
}
|