Processing framework. inconsistency in PXCMGesture

Processing framework. inconsistency in PXCMGesture

I'm not sure this is the right place to post bugs/inconsistencies but maybe it is.

In processing framework "labels" like LABEL_BODY_HAND_PRIMARY are public static int, so user can address them like PXCMGesture.GeoNode.LABEL_BODY_HAND_PRIMARY. But all gesture labels (LABEL_POSE_PEACE, LABEL_NAV_SWIPE_RIGHT, etc...) are just public int, so user have to

PXCMGesture.Gesture gdata=new PXCMGesture.Gesture();

and then use gdata.LABEL_NAV_SWIPE_RIGHT

and that is different from all other labels (and can't be used in Switch statement)

3 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

I will verify and see if it is a bug. Thanks!

Yes, you are right. That's typos. Should be "static int".


Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!