Skip to content

Instantly share code, notes, and snippets.

View PadraigK's full-sized avatar

Padraig PadraigK

View GitHub Profile
@PadraigK
PadraigK / change.diff
Last active October 2, 2023 17:29
New Prefix approach
diff --git a/generated-builtin/Projection.swift b/generated-builtin/Projection.swift
index 6f259ab..2141aa9 100644
--- a/generated-builtin/Projection.swift
+++ b/generated-builtin/Projection.swift
@@ -24,12 +24,12 @@ public struct Projection: Equatable, Hashable, GodotVariant {
public var z: Vector4
public var w: Vector4
public enum Planes: Int {
- case planeNear = 0 // PLANE_NEAR
- case planeFar = 1 // PLANE_FAR
(ns bird-watcher)
(def last-week [0 2 5 3 7 8 4])
(defn today [birds]
(last birds))
(defn safe-last-index [v]
(if (empty? v)
nil ; or some appropriate value