Skip to content

sledorze/haxe-three.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haxe externs for three.js

About

Haxe externs for three.js (release 46).

Please fork and contribute as I may not maintain it in the long run :)

If you meet me, buy me a beer.

Laurent

Install

haxelib install three.js

Dev install

git clone git@github.com:labe-me/haxe-three.js.git
zip -r haxe-three.js.zip haxe-three.js
haxelib test haxe-three.js.zip
haxelib dev three.js `pwd`/haxe-three.js

Usage

Regular usage will embed three.js minified javascript:

haxe -lib three.js ...

Debug compilation will embed non-minified javascript (easier to debug):

haxe -lib three.js -debug ...

To avoid embedding javascript (don’t forget to include three.js javascript manually inside your HTML):

haxe -lib three.js -DnoEmbedJS ...

Todo list

Test api

Integrate RequestAnimationFrame

Integrate Stats

More work on Collada API part

More TODOs in Three.hx

About

Haxe externs for three.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published