view native/PhantomOmni/utils.h @ 3:9e67171477bc

PHANTOM Omni Heptic device release
author Fiore Martin <fiore@eecs.qmul.ac.uk>
date Wed, 25 Apr 2012 17:09:09 +0100
parents
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);