move package to root level

This commit is contained in:
2024-12-26 14:57:19 -06:00
parent 46ea24d25e
commit 0928352a57
6 changed files with 0 additions and 0 deletions
+32
View File
@@ -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
}