@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
14 lines (13 loc) • 332 B
JavaScript
/**
*
* @param {String} path
* @param {String} format
* @returns {String[]}
*/
export function buildCubeURLs(path, format) {
return [
path + "posx" + format, path + "negx" + format,
path + "posy" + format, path + "negy" + format,
path + "posz" + format, path + "negz" + format
];
}