Skip to content

rlgl bindings missing #17

@geniot

Description

@geniot

Hi,
I'm trying to build a wasm using your instructions.
But something is missing...
The branch of my project with changes:
https://github.com/geniot/tsp-rubik/tree/wasm
The errors that I get when trying to compile:

vitaly@vitaly-ThinkPad-P15v-Gen-3:/opt/TrimuiProjects/tsp-rubik$ GOOS=js GOARCH=wasm go build -o ./Raylib-Go-Wasm/index/main.wasm tsp-rubik/src tsp-rubik/src src/application.go:37:5: undefined: rl.SetClipPlanes src/application.go:38:5: undefined: rl.DisableBackfaceCulling src/cubie.go:178:5: undefined: rl.PushMatrix src/cubie.go:179:5: undefined: rl.Translatef src/cubie.go:180:5: undefined: rl.Begin src/cubie.go:180:14: undefined: rl.Quads src/cubie.go:186:5: undefined: rl.End src/cubie.go:187:5: undefined: rl.PopMatrix src/face.go:14:5: undefined: rl.SetTexture src/face.go:16:6: undefined: rl.TexCoord2f src/face.go:16:6: too many errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions