提交 d39d8299 编写于 作者: M Mr.doob

r129

上级 2ceaad92
......@@ -9,7 +9,7 @@
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));
}(this, (function (exports) { 'use strict';
const REVISION = '129dev';
const REVISION = '129';
const MOUSE = {
LEFT: 0,
MIDDLE: 1,
......@@ -22165,7 +22165,7 @@
}
toJSON() {
const data = BufferGeometry.prototype.toJSON.call(this);
const data = super.toJSON();
const shapes = this.parameters.shapes;
const options = this.parameters.options;
return toJSON$1(shapes, options, data);
......@@ -22581,7 +22581,7 @@
}
toJSON() {
const data = BufferGeometry.prototype.toJSON.call(this);
const data = super.toJSON();
const shapes = this.parameters.shapes;
return toJSON(shapes, data);
}
......@@ -22999,7 +22999,7 @@
}
toJSON() {
const data = BufferGeometry.prototype.toJSON.call(this);
const data = super.toJSON();
data.path = this.parameters.path.toJSON();
return data;
}
此差异已折叠。
......@@ -3,7 +3,7 @@
* Copyright 2010-2021 Three.js Authors
* SPDX-License-Identifier: MIT
*/
const REVISION = '129dev';
const REVISION = '129';
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
const CullFaceNone = 0;
......@@ -30352,7 +30352,7 @@ class ExtrudeGeometry extends BufferGeometry {
toJSON() {
const data = BufferGeometry.prototype.toJSON.call( this );
const data = super.toJSON();
const shapes = this.parameters.shapes;
const options = this.parameters.options;
......@@ -31009,7 +31009,7 @@ class ShapeGeometry extends BufferGeometry {
toJSON() {
const data = BufferGeometry.prototype.toJSON.call( this );
const data = super.toJSON();
const shapes = this.parameters.shapes;
......@@ -31633,9 +31633,10 @@ class TubeGeometry extends BufferGeometry {
}
}
toJSON() {
const data = BufferGeometry.prototype.toJSON.call( this );
const data = super.toJSON();
data.path = this.parameters.path.toJSON();
// r128
// r129
const cacheName = 'threejs-editor';
......
{
"name": "three",
"version": "0.128.0",
"version": "0.129.0",
"description": "JavaScript 3D library",
"main": "build/three.js",
"module": "build/three.module.js",
......
export const REVISION = '129dev';
export const REVISION = '129';
export const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
export const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
export const CullFaceNone = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册