Some commits
This commit is contained in:
@@ -66,6 +66,13 @@ Log.dberror = function(error) {
|
||||
);
|
||||
};
|
||||
|
||||
Log.prefetcherror = function(error) {
|
||||
log(
|
||||
'[PFE] ' + new Date() + ' ' + error,
|
||||
Colors.RED
|
||||
);
|
||||
};
|
||||
|
||||
Log.mailerror = function(error) {
|
||||
log(
|
||||
'[MLE] ' + new Date() + ' ' + error,
|
||||
|
||||
@@ -83,9 +83,12 @@ module.exports.loadFromFile = loadFromFile;
|
||||
function main() {
|
||||
|
||||
let loader = new L3D.ProgressiveLoader(
|
||||
'/static/data/castle/princess peaches castle (outside).obj',
|
||||
// '/static/data/castle/princess peaches castle (outside).obj',
|
||||
'/static/data/sponza/sponza.obj',
|
||||
new THREE.Object3D(),
|
||||
null
|
||||
null,
|
||||
undefined,
|
||||
function(a,b) { console.log(100*a/b + '%'); }
|
||||
);
|
||||
|
||||
loader.load(function() {
|
||||
|
||||
Reference in New Issue
Block a user