2021-07-23 17:05:05 +10:00
|
|
|
package engine
|
|
|
|
|
2021-08-01 17:08:26 +10:00
|
|
|
// ID implements Identifier directly (as a string value).
|
|
|
|
type ID string
|
|
|
|
|
|
|
|
// Ident returns id as a string.
|
|
|
|
func (id ID) Ident() string { return string(id) }
|
|
|
|
|
2021-07-31 19:49:24 +10:00
|
|
|
// ZPos implements ZPositioner directly (as a float64 value).
|
2021-07-23 17:05:05 +10:00
|
|
|
type ZPos float64
|
|
|
|
|
2021-07-31 19:49:24 +10:00
|
|
|
// Z returns z as a float64.
|
2021-07-23 17:05:05 +10:00
|
|
|
func (z ZPos) Z() float64 { return float64(z) }
|