Skip to content

Instantly share code, notes, and snippets.

@cdun
cdun / HybridPlaneManager.cs
Created January 24, 2018 11:10
Combines Vuforia image tracking and ground plane. Modified from the PlaneManager class within the Vuforia ground plane samples.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Vuforia;
public class HybridPlaneManager : MonoBehaviour, ITrackableEventHandler
{
private enum PlaneMode
{
@cdun
cdun / ARViewController.m
Created May 18, 2016 17:50
Wikitude CPU / completion
// Check that the device is supported.
NSError *deviceError = nil;
if ( [WTArchitectView isDeviceSupportedForRequiredFeatures:self.requiredFeatures error:&deviceError] ) {
// Create the architect view if needed.
if ( self.architectView == nil) {
WTArchitectView *architectView = [[WTArchitectView alloc] initWithFrame:self.wikitudeParentView.frame];
architectView.delegate = self;
// Set the licence key.