mesh

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_rsb_mesh_mesh_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Mesh

type Mesh struct {
	Triangles []*Triangle `protobuf:"bytes,1,rep,name=triangles,proto3" json:"triangles,omitempty"`
	// contains filtered or unexported fields
}

func (*Mesh) CloneMessageVT

func (m *Mesh) CloneMessageVT() proto.Message

func (*Mesh) CloneVT

func (m *Mesh) CloneVT() *Mesh

func (*Mesh) Descriptor deprecated

func (*Mesh) Descriptor() ([]byte, []int)

Deprecated: Use Mesh.ProtoReflect.Descriptor instead.

func (*Mesh) EqualMessageVT

func (this *Mesh) EqualMessageVT(thatMsg proto.Message) bool

func (*Mesh) EqualVT

func (this *Mesh) EqualVT(that *Mesh) bool

func (*Mesh) GetTriangles

func (x *Mesh) GetTriangles() []*Triangle

func (*Mesh) MarshalToSizedBufferVT

func (m *Mesh) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Mesh) MarshalToSizedBufferVTStrict

func (m *Mesh) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*Mesh) MarshalToVT

func (m *Mesh) MarshalToVT(dAtA []byte) (int, error)

func (*Mesh) MarshalToVTStrict

func (m *Mesh) MarshalToVTStrict(dAtA []byte) (int, error)

func (*Mesh) MarshalVT

func (m *Mesh) MarshalVT() (dAtA []byte, err error)

func (*Mesh) MarshalVTStrict

func (m *Mesh) MarshalVTStrict() (dAtA []byte, err error)

func (*Mesh) ProtoMessage

func (*Mesh) ProtoMessage()

func (*Mesh) ProtoReflect

func (x *Mesh) ProtoReflect() protoreflect.Message

func (*Mesh) Reset

func (x *Mesh) Reset()

func (*Mesh) SizeVT

func (m *Mesh) SizeVT() (n int)

func (*Mesh) String

func (x *Mesh) String() string

func (*Mesh) UnmarshalVT

func (m *Mesh) UnmarshalVT(dAtA []byte) error

func (*Mesh) UnmarshalVTUnsafe

func (m *Mesh) UnmarshalVTUnsafe(dAtA []byte) error

type Triangle

type Triangle struct {
	V0     *Vector3 `protobuf:"bytes,1,opt,name=v0,proto3" json:"v0,omitempty"`
	V1     *Vector3 `protobuf:"bytes,2,opt,name=v1,proto3" json:"v1,omitempty"`
	V2     *Vector3 `protobuf:"bytes,3,opt,name=v2,proto3" json:"v2,omitempty"`
	Normal *Vector3 `protobuf:"bytes,4,opt,name=normal,proto3" json:"normal,omitempty"`
	// contains filtered or unexported fields
}

func (*Triangle) CloneMessageVT

func (m *Triangle) CloneMessageVT() proto.Message

func (*Triangle) CloneVT

func (m *Triangle) CloneVT() *Triangle

func (*Triangle) Descriptor deprecated

func (*Triangle) Descriptor() ([]byte, []int)

Deprecated: Use Triangle.ProtoReflect.Descriptor instead.

func (*Triangle) EqualMessageVT

func (this *Triangle) EqualMessageVT(thatMsg proto.Message) bool

func (*Triangle) EqualVT

func (this *Triangle) EqualVT(that *Triangle) bool

func (*Triangle) GetNormal

func (x *Triangle) GetNormal() *Vector3

func (*Triangle) GetV0

func (x *Triangle) GetV0() *Vector3

func (*Triangle) GetV1

func (x *Triangle) GetV1() *Vector3

func (*Triangle) GetV2

func (x *Triangle) GetV2() *Vector3

func (*Triangle) MarshalToSizedBufferVT

func (m *Triangle) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Triangle) MarshalToSizedBufferVTStrict

func (m *Triangle) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*Triangle) MarshalToVT

func (m *Triangle) MarshalToVT(dAtA []byte) (int, error)

func (*Triangle) MarshalToVTStrict

func (m *Triangle) MarshalToVTStrict(dAtA []byte) (int, error)

func (*Triangle) MarshalVT

func (m *Triangle) MarshalVT() (dAtA []byte, err error)

func (*Triangle) MarshalVTStrict

func (m *Triangle) MarshalVTStrict() (dAtA []byte, err error)

func (*Triangle) ProtoMessage

func (*Triangle) ProtoMessage()

func (*Triangle) ProtoReflect

func (x *Triangle) ProtoReflect() protoreflect.Message

func (*Triangle) Reset

func (x *Triangle) Reset()

func (*Triangle) SizeVT

func (m *Triangle) SizeVT() (n int)

func (*Triangle) String

func (x *Triangle) String() string

func (*Triangle) UnmarshalVT

func (m *Triangle) UnmarshalVT(dAtA []byte) error

func (*Triangle) UnmarshalVTUnsafe

func (m *Triangle) UnmarshalVTUnsafe(dAtA []byte) error

type Vector3

type Vector3 struct {
	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*Vector3) CloneMessageVT

func (m *Vector3) CloneMessageVT() proto.Message

func (*Vector3) CloneVT

func (m *Vector3) CloneVT() *Vector3

func (*Vector3) Descriptor deprecated

func (*Vector3) Descriptor() ([]byte, []int)

Deprecated: Use Vector3.ProtoReflect.Descriptor instead.

func (*Vector3) EqualMessageVT

func (this *Vector3) EqualMessageVT(thatMsg proto.Message) bool

func (*Vector3) EqualVT

func (this *Vector3) EqualVT(that *Vector3) bool

func (*Vector3) GetX

func (x *Vector3) GetX() float32

func (*Vector3) GetY

func (x *Vector3) GetY() float32

func (*Vector3) GetZ

func (x *Vector3) GetZ() float32

func (*Vector3) MarshalToSizedBufferVT

func (m *Vector3) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Vector3) MarshalToSizedBufferVTStrict

func (m *Vector3) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*Vector3) MarshalToVT

func (m *Vector3) MarshalToVT(dAtA []byte) (int, error)

func (*Vector3) MarshalToVTStrict

func (m *Vector3) MarshalToVTStrict(dAtA []byte) (int, error)

func (*Vector3) MarshalVT

func (m *Vector3) MarshalVT() (dAtA []byte, err error)

func (*Vector3) MarshalVTStrict

func (m *Vector3) MarshalVTStrict() (dAtA []byte, err error)

func (*Vector3) ProtoMessage

func (*Vector3) ProtoMessage()

func (*Vector3) ProtoReflect

func (x *Vector3) ProtoReflect() protoreflect.Message

func (*Vector3) Reset

func (x *Vector3) Reset()

func (*Vector3) SizeVT

func (m *Vector3) SizeVT() (n int)

func (*Vector3) String

func (x *Vector3) String() string

func (*Vector3) UnmarshalVT

func (m *Vector3) UnmarshalVT(dAtA []byte) error

func (*Vector3) UnmarshalVTUnsafe

func (m *Vector3) UnmarshalVTUnsafe(dAtA []byte) error

Jump to

Keyboard shortcuts

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