mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2024-11-23 08:34:14 -05:00
Fixed code styling
This commit is contained in:
parent
876cbefe74
commit
a1b1860da2
@ -19,7 +19,6 @@ const RuntimeError = Cesium.RuntimeError;
|
||||
const WindingOrder = Cesium.WindingOrder;
|
||||
const Matrix4 = Cesium.Matrix4;
|
||||
|
||||
|
||||
module.exports = loadObj;
|
||||
|
||||
// Object name (o) -> node
|
||||
|
@ -180,7 +180,7 @@ obj2gltf.defaults = {
|
||||
* @type String
|
||||
* @default 'Y'
|
||||
*/
|
||||
outputUpAxis: 'Y',
|
||||
outputUpAxis: 'Y'
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -467,7 +467,7 @@ describe('loadObj', () => {
|
||||
}
|
||||
|
||||
async function checkAxisConversion(inputUpAxis, outputUpAxis, position, normal) {
|
||||
var sameAxis = (inputUpAxis === outputUpAxis);
|
||||
const sameAxis = (inputUpAxis === outputUpAxis);
|
||||
options.inputUpAxis = inputUpAxis;
|
||||
options.outputUpAxis = outputUpAxis;
|
||||
const data = await loadObj(objRotatedUrl, options);
|
||||
|
Loading…
Reference in New Issue
Block a user