mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 18:55:01 +02:00
commit
b4c963b9f8
3 changed files with 2 additions and 3 deletions
|
@ -360,7 +360,6 @@ bool Avatar::findSphereCollision(const glm::vec3& sphereCenter, float sphereRadi
|
|||
|
||||
const HandData* handData = getHandData();
|
||||
if (handData) {
|
||||
int jointIndices[2] = { _skeletonModel.getLeftHandJointIndex(), _skeletonModel.getRightHandJointIndex() };
|
||||
for (int i = 0; i < 2; i++) {
|
||||
const PalmData* palm = handData->getPalm(i);
|
||||
if (palm) {
|
||||
|
|
|
@ -40,7 +40,8 @@ int matMetaType = qRegisterMetaType<Mat>("cv::Mat");
|
|||
int rotatedRectMetaType = qRegisterMetaType<RotatedRect>("cv::RotatedRect");
|
||||
#endif //def HAVE_LIBVPX
|
||||
|
||||
Webcam::Webcam() : _enabled(false), _active(false), _colorTextureID(0), _depthTextureID(0), _skeletonTrackingOn(false), _grabber(NULL) {
|
||||
Webcam::Webcam() : _grabber(NULL), _enabled(false), _active(false), _colorTextureID(0), _depthTextureID(0),
|
||||
_skeletonTrackingOn(false) {
|
||||
// the grabber simply runs as fast as possible
|
||||
#ifdef HAVE_LIBVPX
|
||||
_grabber = new FrameGrabber();
|
||||
|
|
|
@ -149,7 +149,6 @@ void ParticleCollisionSystem::updateCollisionWithAvatars(Particle* particle) {
|
|||
const float DAMPING = 0.0f;
|
||||
const float COLLISION_FREQUENCY = 0.5f;
|
||||
glm::vec3 penetration;
|
||||
const PalmData* collidingPalm = NULL;
|
||||
|
||||
// first check the selfAvatar if set...
|
||||
if (_selfAvatar) {
|
||||
|
|
Loading…
Reference in a new issue