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