|
1 | | -import { use3dTransformations } from 'react-css-transform'; |
| 1 | +import { merge3dMatrixWithStyles,use3dTransformations } from 'react-css-transform'; |
2 | 2 | import { useGlobalContext } from './GlobalContext';
|
3 | 3 | import { useFlatShading } from '../useFlatShading';
|
4 | 4 | import { vec3 } from 'gl-matrix';
|
5 | 5 | import { useMemo } from 'react';
|
6 | | -import { blendHex,mergeMatrixWithStyles } from '../utils'; |
| 6 | +import { blendHex } from '../utils'; |
7 | 7 |
|
8 | 8 | import type { CSSProperties } from 'react';
|
9 | 9 | import type { Transform3dProps } from 'react-css-transform';
|
@@ -41,7 +41,7 @@ export const Face = ({ color, style, ...transform3dProps }: FaceProps) => {
|
41 | 41 | });
|
42 | 42 |
|
43 | 43 | const faceStyle = useMemo(() => {
|
44 | | - return mergeMatrixWithStyles(matrixWorld.current, { |
| 44 | + return merge3dMatrixWithStyles(matrixWorld.current, { |
45 | 45 | ...style,
|
46 | 46 | backgroundColor: outputColorString,
|
47 | 47 | });
|
|
0 commit comments