Skip to content

Instantly share code, notes, and snippets.

View romanus's full-sized avatar

Ted Romanus romanus

View GitHub Profile
// The interop signature in the Unity script.
[DllImport("mypluginname")]
private static extern bool getSomeArrayData(ref IntPtr ptrResultVerts, ref int resultVertLength);
// An example of calling the interop function.
public MyMarshallingMethod()
{
IntPtr ptrResultVerts = IntPtr.Zero;
int resultVertLength = 0;
@romanus
romanus / README-Template.md
Created March 29, 2017 10:01 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@romanus
romanus / ARTools.py
Created December 18, 2016 21:20
Addon for Creating Vuforia Multi-Target databases
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the