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 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

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

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

 

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen