Commit 5226f5d3 authored by 邱旭's avatar 邱旭

换个版本号打印的方式

parent 25637fbb
...@@ -258,10 +258,7 @@ export class Euler { ...@@ -258,10 +258,7 @@ export class Euler {
} }
toArray(array, offset) { toArray(array=[], offset=0) {
if (array === undefined) array = [];
if (offset === undefined) offset = 0;
array[offset] = this._x; array[offset] = this._x;
array[offset + 1] = this._y; array[offset + 1] = this._y;
...@@ -297,4 +294,4 @@ export class Euler { ...@@ -297,4 +294,4 @@ export class Euler {
onChangeCallback() { onChangeCallback() {
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment