mirror of
https://github.com/IllusionMan1212/tinyvg-odin.git
synced 2026-10-24 10:12:38 +00:00
initial
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package main
|
||||
|
||||
import "core:fmt"
|
||||
import "core:os/os2"
|
||||
|
||||
import tinyvg "../"
|
||||
|
||||
main :: proc() {
|
||||
if len(os2.args) < 2 {
|
||||
fmt.println("Provide a path to a tvg file")
|
||||
return
|
||||
}
|
||||
|
||||
tvg, err := tinyvg.load_from_file(os2.args[1])
|
||||
if err != nil {
|
||||
fmt.println(err)
|
||||
}
|
||||
|
||||
fmt.println(tvg)
|
||||
}
|
||||
Reference in New Issue
Block a user