mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: shaders
This commit is contained in:
1 parent
3500389628
commit
080af86e1b
9 files changed
+139
-52
No files matched your search
+3
-3
@@ -268,9 +268,9 @@ export const SpacedArmorScene = memo<SpacedArmorSceneProps>(
|
||||
</group>
|
||||
|
||||
{modelNodes.map((node) => {
|
||||
const isCurrentGun = node.name.startsWith(
|
||||
`gun_${gunModelDefinition.model.toString().padStart(2, '0')}`,
|
||||
);
|
||||
const isCurrentGun =
|
||||
node.name ===
|
||||
`gun_${gunModelDefinition.model.toString().padStart(2, '0')}`;
|
||||
const isVisible = isCurrentGun;
|
||||
|
||||
if (!isVisible) return null;
|
||||
|
||||
Reference in new issue
Block a user