redcamel / RedGL2

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

RedGL canvas size #703

Closed hikaMaeng closed 4 years ago

hikaMaeng commented 4 years ago

나 초기화 시점에

this.setSize(500, 500);

한 뒤에 renderer사용했는데 renderer가 전체화면으로 바꿔버림. setSize했으면 이 크기가 유지되어야하는거 아닌감?

redcamel commented 4 years ago

@hikaMaeng 일단 이놈은 문제가 될일은 아마 없을것 같은데 내일 소스한번 알려주세요

hikaMaeng commented 4 years ago

해결했음. "500" 이라고 쓴게 문제였음.