Skip to content

Instantly share code, notes, and snippets.

Anthony Martinet martintamare

Block or report user

Report or block martintamare

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
martintamare / listener.cpp
Created Jan 4, 2011
Ogre 3D Listener that I used to program multi-touch interactions
View listener.cpp
#include "listener.h"
std::map<int,Vector3> mapPoint3DToMatch;
std::map<int,Vector2> mapPoint2D;
Vector3 vCentreObject = Vector3::ZERO; // Center of rotation ?
Vector3 vCentreRotation = Vector3::ZERO;
Camera * gmCamera; // Camera use to project
You can’t perform that action at this time.