Skip to content

Commit

Permalink
Update item.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Aug 7, 2023
1 parent ca93db3 commit ec4b625
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions item.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ func (i *Item) GetWeight() float64 {
return i.weight
}

func (i *Item) GetPosition() Pivot {
return i.position
}

//nolint:nonamedreturns
func (i *Item) GetDimension() (d Dimension) {
switch i.rotationType {
Expand Down

0 comments on commit ec4b625

Please sign in to comment.