redcamel / RedGL2

RedGL - Javascript 3D library (webgl)
https://redcamel.github.io/RedGL2/example
MIT License
155 stars 16 forks source link

RedView 고유키 정책변경 #666

Closed redcamel closed 5 years ago

redcamel commented 5 years ago

RedView 고유키 정책변경

RedView(고유키, ~) 에서 고유키를 world 등록시 고유키 등록으로 변경

@easylogic

redcamel commented 5 years ago

resolved. RedView constructor & RedWorld instance method change.

before

RedView('Unique key', RedGL Instance, RedScene Instance, RedCamera)

now

RedView no longer uses the unique key.

RedView(RedGL Instance, RedScene Instance, RedCamera)

The unique key has now been changed to be specified when calling (RedWorld Instance) .addView.

(RedWorld Instance).addView(RedView Instance, 'unique key*')

The unique key is optional when registering RedView with addView method.

@easylogic @cx20