view native/PhantomOmni/utils.h @ 5:d66dd5880081

Added support for Falcon Haptic device and Tablet/Mouse as haptic device
author Fiore Martin <fiore@eecs.qmul.ac.uk>
date Tue, 10 Jul 2012 22:39:37 +0100
parents 9e67171477bc
children
line wrap: on
line source
#pragma once

#include <jni.h>
#include "stdafx.h"

void checkExceptions(JNIEnv *env, char* what);
void stopExecution(char* msg);
bool fromScreen(const hduVector3Dd &win, hduVector3Dd &obj);
bool toScreen(const hduVector3Dd &obj, hduVector3Dd &win);
HDdouble norm(HDdouble v[3]);

//TO REMOVE
void print(char* str);
float rotate();
void print(int str);