added scythe
This commit is contained in:
parent
6993054d63
commit
9504812ed5
10 changed files with 305 additions and 116 deletions
14
atlas_packer/atlas_packer.odin
Normal file
14
atlas_packer/atlas_packer.odin
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package atlas_packer
|
||||
|
||||
import "core:fmt"
|
||||
import "core:os"
|
||||
import "vendor:stb/rect_pack"
|
||||
|
||||
main :: proc() {
|
||||
if len(os.args) != 3 {
|
||||
fmt.panicf(
|
||||
"Invalid amount of args provided, valid call must look like: atlas_packer.exe <folder of images> <image extension>\nProvided args: %v",
|
||||
os.args[1:],
|
||||
)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue