๐ฐintegers
JS โฉ value โฉ primitive โฉ number โฉ integers
x | 0 // x -> integer
const pixelRatio = window.devicePixelRatio;
const width = canvas.clientWidth * pixelRatio | 0;
const height = canvas.clientHeight * pixelRatio | 0;
๐ three.js
Last updated
Was this helpful?