Skip to content

Instantly share code, notes, and snippets.

//
// SwiftUITextExpansion.swift
// rpg
//
// Created by Chris Hodge on 3/29/25.
//
import SwiftUI
struct SwiftUITextExpansion: View {
@cjhodge
cjhodge / GACarouselView.swift
Last active March 14, 2025 03:31
GACarouselView
//
// GACarousel.swift
// rpg
//
// Created by Chris Hodge on 3/4/25.
//
import SwiftUI
import MetalKit
@cjhodge
cjhodge / NormalsVisualizer.cs
Created February 7, 2020 13:07 — forked from mandarinx/NormalsVisualizer.cs
Visualize mesh normals in Unity3D
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(MeshFilter))]
public class NormalsVisualizer : Editor {
private Mesh mesh;
void OnEnable() {
MeshFilter mf = target as MeshFilter;