Rename engine to cubi

This commit is contained in:
2026-11-03 17:17:37 -03:00
parent 68b78f053a
commit 98fa45ebd1
109 changed files with 643 additions and 788 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ export function fluid_rgb(fluid: FluidVariant): Vec3 {
export function fluid_look(fluid: FluidVariant): { texture: string; tint: Vec3 } {
const json = EverythingRegistry.get<FluidJson>("fluids", fluid?.id);
if (!json) throw new Error(`there's no fluid ${fluid?.id}`);
return { texture: json.texture ?? "engine:missing", tint: fluid_rgb(structuredClone(fluid)) };
return { texture: json.texture ?? "cubi:missing", tint: fluid_rgb(structuredClone(fluid)) };
}
// where a model's uv in pixels (0-16) is in the atlas. the atlas's border around each sprite (see ATLAS_BORDER) keeps