• A
    Refactored Loader parameters to allow optional separate paths for texture and binary files. · 771674d7
    alteredq 提交于
    loader.loadAscii and loader.loadBinary now take just one parameter with following properties:
    
        - model (required)
        - callback (required)
        - texture_path (optional: if not specified, textures will be assumed to be in the same folder as JS model file)
        - bin_path (optional: if not specified, binary file will be assumed to be in the same folder as JS model file)
    
    Example use:
    
        loader.loadBinary( { model: "model.js", bin_path: "path/bin", texture_path: "path/img",
                             callback: function( geometry ) { createScene( geometry ) } } );
    771674d7
Three.js 87.2 KB