Skip to content

Instantly share code, notes, and snippets.

View hmans's full-sized avatar
🚀
Let's go!

Hendrik Mans hmans

🚀
Let's go!
View GitHub Profile
@grapefrukt
grapefrukt / URPPostProcessStripper.cs
Last active January 3, 2024 11:44
Strips all post-processing shaders and related assets from Unity builds using URP
/*
Copyright 2020 Martin Jonasson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
@CodyJasonBennett
CodyJasonBennett / four.ts
Last active August 30, 2022 08:34
JS13K '22
import { mat4, quat, vec3, mat3 } from 'gl-matrix'
export class Object3D {
readonly matrix = mat4.create()
readonly quaternion = quat.create()
readonly position = vec3.create()
readonly scale = vec3.set(vec3.create(), 1, 1, 1)
readonly up = vec3.set(vec3.create(), 0, 1, 0)
readonly children: Object3D[] = []
public parent: Object3D | null = null