mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/packing: remove unused functions
This commit is contained in:
parent
471237b701
commit
b4d8519f97
@ -174,13 +174,6 @@ func (p *Page) Size() (int, int) {
|
||||
return p.width, p.height
|
||||
}
|
||||
|
||||
func (p *Page) SetMaxSize(size int) {
|
||||
if p.maxSize > size {
|
||||
panic("packing: maxSize cannot be decreased")
|
||||
}
|
||||
p.maxSize = size
|
||||
}
|
||||
|
||||
func (p *Page) Alloc(width, height int) *Node {
|
||||
if width <= 0 || height <= 0 {
|
||||
panic("packing: width and height must > 0")
|
||||
|
Loading…
Reference in New Issue
Block a user