three.js icon indicating copy to clipboard operation
three.js copied to clipboard

webglRenderer.js getPixelRatio() and setPixelRatio() missing from doc

Open yjcxy12 opened this issue 10 years ago • 2 comments

Description of the problem

getPixelRatio() and setPixelRatio() methods in webglRenderer is missing from the doc. If they are meant to be private methods, setPixelRatio() is never called and pixelRatio is always 1 regardless of device. ...

Three.js version
  • [ ] Dev
  • [x] r75
  • [ ] ...
Browser
  • [x] All of them
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Internet Explorer
OS
  • [x] All of them
  • [ ] Windows
  • [ ] Linux
  • [ ] Android
  • [ ] IOS
Hardware Requirements (graphics card, VR Device, ...)

yjcxy12 avatar Apr 21 '16 08:04 yjcxy12

Feel free to complete the missing bits 😊 https://github.com/mrdoob/three.js/edit/dev/docs/api/renderers/WebGLRenderer.html

mrdoob avatar Apr 21 '16 09:04 mrdoob

@yjcxy12 Do you mind closing the issue? Thanks!

Mugen87 avatar Apr 28 '16 17:04 Mugen87