Skip to content

Instantly share code, notes, and snippets.

//
// ContentView.swift
// BookCover
//
// Created by Jordi Bruin on 01/07/2022.
//
import SwiftUI
struct ContentView: View {
@gcohen-dev
gcohen-dev / MarchingCubesColorBlobParams.h
Created October 9, 2025 12:19 — forked from Matt54/MarchingCubesColorBlobParams.h
RealityKit Color-Blending Metaballs (Metal + LowLevelMesh + Marching Cubes)
#ifndef MarchingCubesColorBlobParams_h
#define MarchingCubesColorBlobParams_h
#include <simd/simd.h>
typedef struct {
simd_float3 center;
float radius;
simd_float3 color;
float _pad;