Core.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <html lang="ko">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. <h1>핵심 상수</h1>
  11. <h2>리비전 번호</h2>
  12. <code>
  13. THREE.REVISION
  14. </code>
  15. <div id="rev">
  16. three.js의 현재 리비전 번호([link:https://github.com/mrdoob/three.js/releases revision number]).
  17. </div>
  18. <h2>Color Spaces</h2>
  19. <code>
  20. THREE.SRGBColorSpace
  21. THREE.LinearSRGBColorSpace
  22. </code>
  23. <p>
  24. [page:SRGBColorSpace] (“srgb”) refers to the color space defined by the Rec. 709 primaries, D65
  25. white point, and nonlinear sRGB transfer functions. sRGB is the default color space in
  26. CSS, and is often found in color palettes and color pickers. Colors expressed in
  27. hexadecimal or CSS notation are typically in the sRGB color space.
  28. </p>
  29. <p>
  30. [page:LinearSRGBColorSpace] (“srgb-linear”) refers to the sRGB color space (above) with
  31. linear transfer functions. Linear-sRGB is the working color space in three.js, used
  32. throughout most of the rendering process. RGB components found in three.js materials
  33. and shaders are in the Linear-sRGB color space.
  34. D</p>
  35. <p>
  36. For further background and usage, see <i>Color management</i>.
  37. </p>
  38. <h2>마우스 버튼</h2>
  39. <code>
  40. THREE.MOUSE.LEFT
  41. THREE.MOUSE.MIDDLE
  42. THREE.MOUSE.RIGHT
  43. </code>
  44. <h2>소스 코드</h2>
  45. <p>
  46. [link:https://github.com/mrdoob/three.js/blob/master/src/constants.js src/constants.js]
  47. </p>
  48. </body>
  49. </html>