mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
fix: armor highlighting desync
This commit is contained in:
1 parent
1911508552
commit
9b3c7451b7
4 files changed
+15
-16
No files matched your search
@@ -29,11 +29,11 @@ export function ArmorMesh({
|
||||
duel,
|
||||
...props
|
||||
}: ArmorMeshProps) {
|
||||
const camera = useThree((state) => state.camera);
|
||||
const { shell } = duel.antagonist;
|
||||
const greenPenetration = useTankopedia(
|
||||
(state) => state.model.visual.greenPenetration,
|
||||
);
|
||||
const camera = useThree((state) => state.camera);
|
||||
const { shell } = duel.antagonist;
|
||||
const material = useRef<ShaderMaterial>(null);
|
||||
const resolution = new Vector2();
|
||||
|
||||
|
||||
Reference in new issue
Block a user