Skip to content

Instantly share code, notes, and snippets.

View Slipyx's full-sized avatar
💭
pro grammin'

slipyx Slipyx

💭
pro grammin'
View GitHub Profile
@Slipyx
Slipyx / Vec2f.hpp
Created April 28, 2012 03:31
Wrapper and helper lib to the vectorial vec2f class
// ============================================================================
// Vec2f.hpp
// Wrapper and helper lib to the vectorial vec2f class
// Made available under the public domain
// ============================================================================
#ifndef __VEC2F_H__
#define __VEC2F_H__
#include "vectorial/vec2f.h"
@Slipyx
Slipyx / Simplex.cpp
Created April 13, 2012 00:06
C++ simplex noise class
/*
===============================================================================
A C++ port of a speed-improved simplex noise algorithm for 2D in Java.
Based on example code by Stefan Gustavson (stegu@itn.liu.se).
Optimisations by Peter Eastman (peastman@drizzle.stanford.edu).
Better rank ordering method by Stefan Gustavson in 2012.
C++ port and minor type and algorithm changes by Josh Koch (jdk1337@gmail.com).
This could be speeded up even further, but it's useful as it is.
@Slipyx
Slipyx / lcmwc.c
Created December 11, 2011 04:57
LCMWC
/*
** lcmwc
** A Complimentary-Multiply-With-Carry Random Number Generator library for Lua
**
** Copyright (C) 2011-2012 Josh Koch.
**
** 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
@Slipyx
Slipyx / Francoise.lua
Created July 28, 2011 04:15
Francoise
Please use new version here: https://github.com/Slipyx/Francoise