Skip to content

Instantly share code, notes, and snippets.

@mgerhardy
mgerhardy / polyvox-ambient-occlusion.patch
Created June 14, 2016 06:05
Ambient occlusion patch for PolyVox develop branch
From d24f9b9d4c95e148b52ab6cc8dd1d16daa87ba95 Mon Sep 17 00:00:00 2001
From: Martin Gerhardy <martin.gerhardy@gmail.com>
Date: Fri, 20 May 2016 11:52:38 +0200
Subject: [PATCH] implemented ao
---
examples/DecodeOnGPU/decode.vert | 1 +
examples/Paging/main.cpp | 10 +-
examples/common/OpenGLWidget.inl | 1 +
examples/common/PolyVoxExample.h | 14 +-
@mgerhardy
mgerhardy / GuiceEasyMockTestNG.java
Created March 1, 2016 07:33
EasyMock + TestNG + Guice class that makes your live easier
package com.github.mgerhardy;
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
@mgerhardy
mgerhardy / android-packages.cmake
Created October 8, 2015 19:44
CMake android install packages by id - ANDROID_SDK_TOOL is set to the "android" binary
set(ANDROID_SDK_TOOL android)
#
# Install android packages
#
# parameters:
# PACKAGE The package id that you need to install
#
macro(cp_android_package PACKAGE)
message("install android sdk package ${PACKAGE}")