"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rgbaf = exports.rgbf = exports.rgba = exports.rgb = exports.xywh = exports.xy = void 0;
function xy(x, y) {
    return { x: x, y: y };
}
exports.xy = xy;
function xywh(x, y, w, h) {
    return { x: x, y: y, z: w, w: h };
}
exports.xywh = xywh;
function rgb(r, g, b) {
    let v = 1 / 255;
    return { x: r * v, y: g * v, z: b * v, w: 1 };
}
exports.rgb = rgb;
function rgba(r, g, b, a) {
    let v = 1 / 255;
    return { x: r * v, y: g * v, z: b * v, w: a * v };
}
exports.rgba = rgba;
function rgbf(r, g, b) {
    return { x: r, y: g, z: b, w: 1 };
}
exports.rgbf = rgbf;
function rgbaf(r, g, b, a) {
    return { x: r, y: g, z: b, w: a };
}
exports.rgbaf = rgbaf;
//# sourceMappingURL=vec.js.map