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 / 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
@Slipyx
Slipyx / mtarcok.h
Last active August 29, 2015 14:03
MT19937 with improved initialization, optimization, and simplification.
/*
MT19937 with initialization improved 2002/2/10.
Coded by Takuji Nishimura and Makoto Matsumoto.
Faster version using Shawn Cokus's optimization and
Matthe Bellew's simplification.
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
All rights reserved.
Redistribution and use in source and binary forms, with or without