Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollisionMesh ¶
type CollisionMesh struct {
Triangles []Triangle `json:"triangles"`
}
type Level ¶
type Level struct { SkyboxTexture string `json:"skybox_texture"` AmbientReflectionTexture string `json:"ambient_reflection_texture"` AmbientRefractionTexture string `json:"ambient_refraction_texture"` IrradianceTexture string `json:"irradiance_texture"` StartCollisionMesh CollisionMesh `json:"start_collision_mesh"` Waypoints []Position `json:"waypoints"` StaticMeshes []Mesh `json:"static_meshes"` CollisionMeshes []CollisionMesh `json:"collision_meshes"` StaticEntities []Entity `json:"static_entities"` }
type LevelDecoder ¶
type LevelDecoder struct{}
func NewLevelDecoder ¶
func NewLevelDecoder() *LevelDecoder
type LevelEncoder ¶
type LevelEncoder struct{}
func NewLevelEncoder ¶
func NewLevelEncoder() *LevelEncoder
Click to show internal directories.
Click to hide internal directories.