three-geo
three-geo copied to clipboard
Invalid in node
I already set useNodePixels: true
in the constructor,but the children of the object is empty.The same code is available in browsers.
My approach is to add global.require = require;const THREE = require("three")
to the head of the file and add module.exports = ThreeGeo
at the end of the file.
I would like to ask if my usage is wrong. I look forward to your reply
Could you post a minimal script example that can reproduce the problem?