ems

package
v0.0.0-...-b5904ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Signature uint32 = 0x00534D45
)

Variables

This section is empty.

Functions

func FromPath

func FromPath(ems *Ems, filePath string) error

func FromPathWithOffset

func FromPathWithOffset(ems *Ems, filePath string, offset uint32) error

Types

type Ems

type Ems struct {
	Offset     uint32   `json:"offset"`
	EntryTotal uint32   `json:"entry_total"`
	Entries    []*Entry `json:"entries"`
}

func New

func New() *Ems

type Entry

type Entry struct {
	Translation [3]float32 `json:"translation"`
}

func NewEntry

func NewEntry(translation [3]float32) *Entry

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL