Skip to content

Commit

Permalink
Rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Apr 22, 2024
1 parent ed87b17 commit a8326fa
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/xeokit-sdk.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -83367,7 +83367,7 @@ class SceneModel extends Component {
const transform = new SceneModelTransform({
id: cfg.id,
model: this,
parentTransform,
parent: parentTransform,
matrix: cfg.matrix,
position: cfg.position,
scale: cfg.scale,
Expand Down
2 changes: 1 addition & 1 deletion dist/xeokit-sdk.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -83363,7 +83363,7 @@ class SceneModel extends Component {
const transform = new SceneModelTransform({
id: cfg.id,
model: this,
parentTransform,
parent: parentTransform,
matrix: cfg.matrix,
position: cfg.position,
scale: cfg.scale,
Expand Down
2 changes: 1 addition & 1 deletion dist/xeokit-sdk.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -18474,7 +18474,7 @@ if(!this._textureTranscoder){this.error("[createTexture] Can't create texture fr
* @param {Number[]} [cfg.rotation=[0,0,0]] Rotation of the transform as Euler angles given in degrees, for each of the X, Y and Z axis.
* @param {Number[]} [cfg.matrix=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]] Modelling transform matrix. Overrides the ````position````, ````scale```` and ````rotation```` parameters.
* @returns {SceneModelTransform} The new transform.
*/},{key:"createTransform",value:function createTransform(cfg){if(cfg.id===undefined||cfg.id===null){this.error("[createTransform] SceneModel.createTransform() config missing: id");return;}if(this._transforms[cfg.id]){this.error("[createTransform] SceneModel already has a transform with this ID: ".concat(cfg.id));return;}var parentTransform;if(cfg.parentTransformId){parentTransform=this._transforms[cfg.parentTransformId];if(!parentTransform){this.error("[createTransform] SceneModel.createTransform() config missing: id");return;}}var transform=new SceneModelTransform({id:cfg.id,model:this,parentTransform:parentTransform,matrix:cfg.matrix,position:cfg.position,scale:cfg.scale,rotation:cfg.rotation,quaternion:cfg.quaternion});this._transforms[transform.id]=transform;return transform;}/**
*/},{key:"createTransform",value:function createTransform(cfg){if(cfg.id===undefined||cfg.id===null){this.error("[createTransform] SceneModel.createTransform() config missing: id");return;}if(this._transforms[cfg.id]){this.error("[createTransform] SceneModel already has a transform with this ID: ".concat(cfg.id));return;}var parentTransform;if(cfg.parentTransformId){parentTransform=this._transforms[cfg.parentTransformId];if(!parentTransform){this.error("[createTransform] SceneModel.createTransform() config missing: id");return;}}var transform=new SceneModelTransform({id:cfg.id,model:this,parent:parentTransform,matrix:cfg.matrix,position:cfg.position,scale:cfg.scale,rotation:cfg.rotation,quaternion:cfg.quaternion});this._transforms[transform.id]=transform;return transform;}/**
* Creates a new {@link SceneModelMesh} within this SceneModel.
*
* * It prepares and saves data for a SceneModelMesh {@link SceneModel#meshes} creation. SceneModelMesh will be created only once the SceneModelEntity (which references this particular SceneModelMesh) will be created.
Expand Down
2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.es.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.es5.js

Large diffs are not rendered by default.

0 comments on commit a8326fa

Please sign in to comment.