Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules1/gl-vec2/ceil.js
T

14 lines
264 B
JavaScript
Raw Normal View History

2026-09-10 15:40:10 +08:00
module.exports = ceil
/**
* Math.ceil the components of a vec2
*
* @param {vec2} out the receiving vector
* @param {vec2} a vector to ceil
* @returns {vec2} out
*/
function ceil(out, a) {
out[0] = Math.ceil(a[0])
out[1] = Math.ceil(a[1])
return out
}