mirror of
https://github.com/jwetzell/osc-go.git
synced 2026-07-26 10:28:42 +00:00
move package to root level
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package osc
|
||||
|
||||
type OSCPacket interface {
|
||||
ToBytes() []byte
|
||||
}
|
||||
|
||||
type OSCBundle struct {
|
||||
TimeTag OSCTimeTag
|
||||
Contents []OSCPacket
|
||||
}
|
||||
|
||||
type OSCArg struct {
|
||||
Type string
|
||||
Value any
|
||||
}
|
||||
|
||||
type OSCMessage struct {
|
||||
Address string
|
||||
Args []OSCArg
|
||||
}
|
||||
|
||||
type OSCColor struct {
|
||||
r uint8
|
||||
g uint8
|
||||
b uint8
|
||||
a uint8
|
||||
}
|
||||
|
||||
type OSCTimeTag struct {
|
||||
seconds int32
|
||||
fractionalSeconds int32
|
||||
}
|
||||
Reference in New Issue
Block a user