Skip to content

Instantly share code, notes, and snippets.

View andymule's full-sized avatar
🍻
(´・ω・)っ日

Andy Muehlhausen andymule

🍻
(´・ω・)っ日
View GitHub Profile
@andymule
andymule / Raylib+PhyKit.swift
Created February 6, 2023 17:32
Bridge SPM versions of Raylib and PhyKit swift
import PhyKit
import Raylib
import RaylibC
// this file bridges two repositories together for easier use
// https://github.com/STREGAsGate/Raylib
// https://github.com/AdamEisfeld/PhyKit
// example use:
// let rigidbody : PHYRigidBody = PHYRigidBodyFromRaylibModel(model: Raylib.loadModel("Resources/ship.gltf"), scale: 0.5, isStatic: false, collisionType: .concave)