Skip to content

Instantly share code, notes, and snippets.

#ifndef RAYNAMES_H
#define RAYNAMES_H
/* raylib.h */
#define vector2_t Vector2
#define vector3_t Vector3
#define vector4_t Vector4
#define matrix_t Matrix
#define color_t Color
@SamyBencherif
SamyBencherif / rmpd.c
Created March 3, 2020 20:35
Pixelated 2d lighting with shadows in Raylib, software accelerated
/********************************************************************************************
@filename: rmpd.c
@title: Real Pixel Lighting RAMP DEMO
@description: Simple gradient demo of RPL with shadows
@author: Samy Bencherif
Copyright (C) 2020 Samy Bencherif (@deathstallion)
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
@romkatv
romkatv / instant-zsh.zsh
Last active February 17, 2024 10:59
Make zsh start INSTANTLY with this one weird trick
# Make zsh start INSTANTLY with this one weird trick.
#
# https://asciinema.org/a/274255
#
# HOW TO USE
#
# 1. Download this script.
#
# curl -fsSL -o ~/instant-zsh.zsh https://gist.github.com/romkatv/8b318a610dc302bdbe1487bb1847ad99/raw
#