mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: some cleanuo
This commit is contained in:
1 parent
10c7e4a19d
commit
2fe3c50bef
2 files changed
-4
No files matched your search
-2
@@ -269,8 +269,6 @@ export function Controls() {
|
|||||||
ShootingRangeZoom.Arcade,
|
ShootingRangeZoom.Arcade,
|
||||||
ShootingRangeZoom.Zoom2,
|
ShootingRangeZoom.Zoom2,
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(draft.shootingRangeZoom);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-2
@@ -103,7 +103,6 @@ export function SceneProps() {
|
|||||||
{ equipmentDefinitions, provisionDefinitions, tankModelDefinition },
|
{ equipmentDefinitions, provisionDefinitions, tankModelDefinition },
|
||||||
);
|
);
|
||||||
let { dispersion } = characteristics;
|
let { dispersion } = characteristics;
|
||||||
const turretRotationSpeed = degToRad(characteristics.turretTraverseSpeed);
|
|
||||||
const gunRotationSpeed = degToRad(characteristics.gunTraverseSpeed);
|
const gunRotationSpeed = degToRad(characteristics.gunTraverseSpeed);
|
||||||
const mockTank = useLoader(GLTFLoader, asset(`3d/tanks/models/12305.glb`));
|
const mockTank = useLoader(GLTFLoader, asset(`3d/tanks/models/12305.glb`));
|
||||||
const texture = useLoader(TextureLoader, imgur('C28Z8nU'));
|
const texture = useLoader(TextureLoader, imgur('C28Z8nU'));
|
||||||
@@ -115,7 +114,6 @@ export function SceneProps() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
let lastTime = 0;
|
let lastTime = 0;
|
||||||
let lastPenalty = 0;
|
|
||||||
let DEBUG_disable = false;
|
let DEBUG_disable = false;
|
||||||
|
|
||||||
useFrame(({ raycaster, camera, clock, gl }) => {
|
useFrame(({ raycaster, camera, clock, gl }) => {
|
||||||
|
|||||||
Reference in new issue
Block a user