AGPLv3 license

This commit is contained in:
2026-10-12 15:09:22 -03:00
parent c1dd0e62a8
commit 48c6f0ec1d
263 changed files with 1446 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
import type { Camera } from "../camera.ts";
import { mat4 } from "gl-matrix";
import type { RenderLayer } from "$/common/everything_registry.ts";
+3
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
// how long the gpu spends on each render pass, with timestamp queries, for the f3 performance window. passes are
// labeled with the section they started in (see gpu_section in core.ts), and the results come back a few frames
// later, when the gpu is done. chrome rounds timestamps to 0.1 ms unless it's started with
+3
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
export * from "./core.ts";
export * from "./shapes.ts";
export * from "./textures.ts";
+3
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
import { push_vertex } from "./core.ts";
import type { Texture } from "./types.ts";
+3
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
import { flush_batch, get_current_texture, push_quad, push_vertex, set_current_texture, white_tex } from "./core.ts";
export function draw_rect(
+3
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
import { AssetManager } from "../assets.ts";
import { flush_batch, get_current_texture, push_quad, set_current_texture } from "./core.ts";
import { type Plane3d, push_plane_quad } from "./shapes.ts";
+3
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
import {
create_texture,
device,
+3
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
export interface Texture {
tex: GPUTexture;
width: number;