UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

9 lines (7 loc) 309 B
var gsplatContainerFloatReadVS = ` fn getCenter() -> vec3f { return loadDataCenter().xyz; } fn getColor() -> vec4f { return loadDataColor(); } fn getScale() -> vec3f { return loadDataScale().xyz; } fn getRotation() -> vec4f { return loadDataRotation(); } `; export { gsplatContainerFloatReadVS as default };