react-native-filament
Version:
A real-time physically based 3D rendering engine for React Native
13 lines (10 loc) • 358 B
JavaScript
;
export const areFloat3Equal = (a, b) => {
'worklet';
return a[0] === b?.[0] && a[1] === b?.[1] && a[2] === b?.[2];
};
export const isWorkletSharedValue = value => {
'worklet';
return typeof value === 'object' && value != null && 'addListener' in value && typeof value.addListener === 'function';
};
//# sourceMappingURL=helper.js.map