Add BaseComp

This commit is contained in:
bloeys
2022-12-06 05:20:20 +04:00
parent 7d5e3e2d82
commit 84cd8c28c8
2 changed files with 19 additions and 1 deletions

View File

@ -71,12 +71,14 @@ type OurGame struct {
}
type TransformComp struct {
entity.BaseComp
Pos *gglm.Vec3
Rot *gglm.Quat
Scale *gglm.Vec3
}
func (t TransformComp) Name() string {
func (t *TransformComp) Name() string {
return "Transform Component"
}