playcanvas
Version:
Open-source WebGL/WebGPU 3D engine for the web
33 lines (32 loc) • 500 B
JavaScript
var gsplatStructs_default = `
struct SplatSource {
uint order;
vec2 cornerUV;
};
struct SplatCenter {
vec3 view;
vec4 proj;
mat4 modelView;
float projMat00;
vec3 modelCenterOriginal;
vec3 modelCenterModified;
float fisheyeSinTK;
float fisheyeCosTK;
float fisheyeRxy;
};
struct SplatCorner {
vec3 offset;
vec2 uv;
float aaFactor;
vec2 v;
float dlen;
};
`;
export {
gsplatStructs_default as default
};