mirror of
https://github.com/bloeys/assimp-go.git
synced 2025-12-29 08:28:20 +00:00
Change package name aig->asig
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
%module aig
|
||||
%module asig
|
||||
|
||||
//NOTE: Add this above the 'C' package in aig_wrap.go `#cgo LDFLAGS: -L ./staticLibs -l zlibstatic -l IrrXML -l assimp` after generating
|
||||
//NOTE: Add this above the 'C' package in asig_wrap.go `#cgo LDFLAGS: -L ./staticLibs -l zlibstatic -l IrrXML -l assimp` after generating
|
||||
|
||||
// SWIG helpers for std::string and std::vector wrapping.
|
||||
%include <std_string.i>
|
||||
File diff suppressed because it is too large
Load Diff
6
main.go
6
main.go
@ -3,12 +3,12 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/bloeys/assimp-go/aig"
|
||||
"github.com/bloeys/assimp-go/asig"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
scene := aig.AiImportFile("obj.obj", uint(0))
|
||||
scene := asig.AiImportFile("obj.obj", uint(0))
|
||||
meshes := scene.MMeshes()
|
||||
|
||||
verts := meshes.Get(0).MVertices()
|
||||
@ -17,7 +17,7 @@ func main() {
|
||||
fmt.Printf("V%v: (%v, %v, %v)\n", i, v.GetX(), v.GetY(), v.GetZ())
|
||||
}
|
||||
|
||||
scene = aig.AiImportFile("obj.fbx", uint(0))
|
||||
scene = asig.AiImportFile("obj.fbx", uint(0))
|
||||
meshes = scene.MMeshes()
|
||||
|
||||
verts = meshes.Get(0).MVertices()
|
||||
|
||||
Reference in New Issue
Block a user