Skip to content

Instantly share code, notes, and snippets.

View superfunc's full-sized avatar
🎟️
play dodonpachi

superfunc

🎟️
play dodonpachi
View GitHub Profile
@superfunc
superfunc / menu
Created May 3, 2015 15:55
menu example
{
"menu": {
"elements": [
{
"image": "mainmenubg.png",
"pos": {
"xcoord": 0,
"ycoord": 0
},
"selectable": false
@superfunc
superfunc / test.cc
Created August 11, 2019 21:31
STLCost/GBench
// Code by https://github.com/Atrix256/STLCost
// Blog at: https://blog.demofox.org/2019/08/10/measuring-debug-stl-container-perf-cost-in-msvc/
// Modified to run under google benchmark
#include <benchmark/benchmark.h>
#include <chrono>
#include <cstdio>
#include <iostream>
#include <string>
#!/bin/sh
mkdir ./inst
python ../build_scripts/build_usd.py --no-python --no-tools --no-examples \
--no-imaging --no-tests --no-docs \
--no-ptex --no-openvdb --no-tutorials `pwd`/inst/