RobLoach / node-raylib

Node.js bindings for Raylib
https://robloach.github.io/node-raylib/
Other
237 stars 20 forks source link

examples/models/models_rlgl_solar_system.js #111

Closed konsumer closed 2 years ago

konsumer commented 2 years ago

in raylib4 branch, I get error when I run node examples/models/models_rlgl_solar_system.js:

/home/konsumer/Documents/otherdev/node-raylib/examples/models/models_rlgl_solar_system.js:110
  r.rlPushMatrix()
    ^

TypeError: r.rlPushMatrix is not a function
    at Object.<anonymous> (/home/konsumer/Documents/otherdev/node-raylib/examples/models/models_rlgl_solar_system.js:110:5)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47