提交 015a27c4 编写于 作者: S sunag

add missing default value

上级 e9351372
import InputNode from '../core/InputNode.js';
import { Color } from '../../../../../build/three.module.js';
class ColorNode extends InputNode {
constructor( value ) {
constructor( value = new Color() ) {
super( 'color' );
......
import InputNode from '../core/InputNode.js';
import { Vector2 } from '../../../../../build/three.module.js';
class Vector2Node extends InputNode {
constructor( value ) {
constructor( value = new Vector2() ) {
super( 'vec2' );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册