Documentation ¶
Index ¶
- Variables
- type Rectangle
- func (*Rectangle) Descriptor() ([]byte, []int)
- func (this *Rectangle) Equal(that interface{}) bool
- func (m *Rectangle) GetPointA() *Vec3
- func (m *Rectangle) GetPointB() *Vec3
- func (this *Rectangle) GoString() string
- func (m *Rectangle) Marshal() (dAtA []byte, err error)
- func (m *Rectangle) MarshalTo(dAtA []byte) (int, error)
- func (m *Rectangle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Rectangle) ProtoMessage()
- func (m *Rectangle) Reset()
- func (m *Rectangle) Size() (n int)
- func (this *Rectangle) String() string
- func (m *Rectangle) Unmarshal(dAtA []byte) error
- func (m *Rectangle) XXX_DiscardUnknown()
- func (m *Rectangle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Rectangle) XXX_Merge(src proto.Message)
- func (m *Rectangle) XXX_Size() int
- func (m *Rectangle) XXX_Unmarshal(b []byte) error
- type Vec3
- func (*Vec3) Descriptor() ([]byte, []int)
- func (this *Vec3) Equal(that interface{}) bool
- func (m *Vec3) GetX() uint64
- func (m *Vec3) GetY() uint64
- func (m *Vec3) GetZ() uint64
- func (this *Vec3) GoString() string
- func (m *Vec3) Marshal() (dAtA []byte, err error)
- func (m *Vec3) MarshalTo(dAtA []byte) (int, error)
- func (m *Vec3) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vec3) ProtoMessage()
- func (m *Vec3) Reset()
- func (m *Vec3) Size() (n int)
- func (this *Vec3) String() string
- func (m *Vec3) Unmarshal(dAtA []byte) error
- func (m *Vec3) XXX_DiscardUnknown()
- func (m *Vec3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vec3) XXX_Merge(src proto.Message)
- func (m *Vec3) XXX_Size() int
- func (m *Vec3) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Rectangle ¶
type Rectangle struct { PointA *Vec3 `protobuf:"bytes,1,opt,name=PointA,proto3" json:"PointA,omitempty"` PointB *Vec3 `protobuf:"bytes,2,opt,name=PointB,proto3" json:"PointB,omitempty"` }
func NewPopulatedRectangle ¶
func (*Rectangle) Descriptor ¶
func (*Rectangle) MarshalToSizedBuffer ¶
func (*Rectangle) ProtoMessage ¶
func (*Rectangle) ProtoMessage()
func (*Rectangle) XXX_DiscardUnknown ¶
func (m *Rectangle) XXX_DiscardUnknown()
func (*Rectangle) XXX_Marshal ¶
func (*Rectangle) XXX_Unmarshal ¶
type Vec3 ¶
type Vec3 struct { X uint64 `protobuf:"varint,1,opt,name=X,proto3" json:"X,omitempty"` Y uint64 `protobuf:"varint,2,opt,name=Y,proto3" json:"Y,omitempty"` // Z is a floor and no a cartesian coordinate Z uint64 `protobuf:"varint,3,opt,name=Z,proto3" json:"Z,omitempty"` }
func NewPopulatedVec3 ¶
func NewVec3Random ¶
NewVec3Random returns a random Vec3 with coordinates range between params.
func (*Vec3) Descriptor ¶
func (*Vec3) ProtoMessage ¶
func (*Vec3) ProtoMessage()
func (*Vec3) XXX_DiscardUnknown ¶
func (m *Vec3) XXX_DiscardUnknown()
func (*Vec3) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.