tong / three.hx

Haxe→Three.js type definitions
28 stars 5 forks source link

threejs_include doesn't seem to work #9

Closed MatthijsKamstra closed 4 years ago

MatthijsKamstra commented 4 years ago

simple example:

class MainTest {
    static function main() {
        trace("Hello, world!");
    }
}

build.hxml

-lib three.hx
-cp src
-main MainTest
-js bin/include_debug.js
-dce full
-debug
-D threejs_include

--next

-lib three.hx
-cp src
-main MainTest
-js bin/include.js
-dce full
# -debug
-D threejs_include

does not embed three.js

tong commented 4 years ago

Works for me, not sure why it should not.

MatthijsKamstra commented 4 years ago

Screenshot 2019-11-18 at 13 45 28

I am probably missing something very obvious, but I can't get it to work.

tong commented 4 years ago

Can't reproduce. I've copy/paste your example and it works as expected.

MatthijsKamstra commented 4 years ago

This is mysterious... 🤪 Well it is what it is... If it works, it works.

You can close the issue.