Updated constant names in MPPHandLandmarkConnections
This commit is contained in:
parent
f63c00b3c6
commit
f528fa5de2
|
@ -262,27 +262,27 @@ static NSString *const kTaskName = @"handLandmarker";
|
|||
}
|
||||
|
||||
+ (NSArray<MPPConnection *> *)handPalmConnections {
|
||||
return kHandPalmConnections;
|
||||
return MPPHandPalmConnections;
|
||||
}
|
||||
|
||||
+ (NSArray<MPPConnection *> *)handIndexFingerConnections {
|
||||
return kHandIndexFingerConnections;
|
||||
return MPPHandIndexFingerConnections;
|
||||
}
|
||||
|
||||
+ (NSArray<MPPConnection *> *)handMiddleFingerConnections {
|
||||
return kHandMiddleFingerConnections;
|
||||
return MPPHandMiddleFingerConnections;
|
||||
}
|
||||
|
||||
+ (NSArray<MPPConnection *> *)handRingFingerConnections {
|
||||
return kHandRingFingerConnections;
|
||||
return MPPHandRingFingerConnections;
|
||||
}
|
||||
|
||||
+ (NSArray<MPPConnection *> *)handPinkyConnections {
|
||||
return kHandPinkyConnections;
|
||||
return MPPHandPinkyConnections;
|
||||
}
|
||||
|
||||
+ (NSArray<MPPConnection *> *)handConnections {
|
||||
return kHandConnections;
|
||||
return MPPHandConnections;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -17,38 +17,38 @@
|
|||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
NSArray<MPPConnection *> *const kHandPalmConnections = @[
|
||||
NSArray<MPPConnection *> *const MPPHandPalmConnections = @[
|
||||
[[MPPConnection alloc] initWithStart:0 end:1], [[MPPConnection alloc] initWithStart:0 end:5],
|
||||
[[MPPConnection alloc] initWithStart:9 end:13], [[MPPConnection alloc] initWithStart:13 end:17],
|
||||
[[MPPConnection alloc] initWithStart:5 end:9], [[MPPConnection alloc] initWithStart:0 end:17]
|
||||
];
|
||||
|
||||
NSArray<MPPConnection *> *const kHandThumbConnections = @[
|
||||
NSArray<MPPConnection *> *const MPPHandThumbConnections = @[
|
||||
[[MPPConnection alloc] initWithStart:1 end:2], [[MPPConnection alloc] initWithStart:2 end:3],
|
||||
[[MPPConnection alloc] initWithStart:3 end:4]
|
||||
];
|
||||
|
||||
NSArray<MPPConnection *> *const kHandIndexFingerConnections = @[
|
||||
NSArray<MPPConnection *> *const MPPHandIndexFingerConnections = @[
|
||||
[[MPPConnection alloc] initWithStart:5 end:6], [[MPPConnection alloc] initWithStart:6 end:7],
|
||||
[[MPPConnection alloc] initWithStart:7 end:8]
|
||||
];
|
||||
|
||||
NSArray<MPPConnection *> *const kHandMiddleFingerConnections = @[
|
||||
NSArray<MPPConnection *> *const MPPHandMiddleFingerConnections = @[
|
||||
[[MPPConnection alloc] initWithStart:9 end:10], [[MPPConnection alloc] initWithStart:10 end:11],
|
||||
[[MPPConnection alloc] initWithStart:11 end:12]
|
||||
];
|
||||
|
||||
NSArray<MPPConnection *> *const kHandRingFingerConnections = @[
|
||||
NSArray<MPPConnection *> *const MPPHandRingFingerConnections = @[
|
||||
[[MPPConnection alloc] initWithStart:13 end:14], [[MPPConnection alloc] initWithStart:14 end:15],
|
||||
[[MPPConnection alloc] initWithStart:15 end:16]
|
||||
];
|
||||
|
||||
NSArray<MPPConnection *> *const kHandPinkyConnections = @[
|
||||
NSArray<MPPConnection *> *const MPPHandPinkyConnections = @[
|
||||
[[MPPConnection alloc] initWithStart:16 end:17], [[MPPConnection alloc] initWithStart:17 end:18],
|
||||
[[MPPConnection alloc] initWithStart:18 end:19]
|
||||
];
|
||||
|
||||
NSArray<MPPConnection *> *const kHandConnections = [[[[[[NSArray
|
||||
NSArray<MPPConnection *> *const MPPHandConnections = [[[[[[NSArray
|
||||
arrayWithArray:kHandPalmConnections] arrayByAddingObjectsFromArray:kHandThumbConnections]
|
||||
arrayByAddingObjectsFromArray:kHandIndexFingerConnections]
|
||||
arrayByAddingObjectsFromArray:kHandMiddleFingerConnections]
|
||||
|
|
Loading…
Reference in New Issue
Block a user