Skip to content

Commit

Permalink
Update three-scene.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davespser authored Dec 6, 2024
1 parent 5769c9f commit c6a09b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/three-scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as THREE from "https://cdn.jsdelivr.net/npm/[email protected]/build/three.m
// Variables globales
let scene, camera, renderer;
let cube, floor;
let speed = 0.1; // Velocidad del cubo basada en la estadística "speed"
let speed = 0.02; // Velocidad del cubo basada en la estadística "speed"

// Función para cargar la escena principal
export function loadThreeScene({ x = 0, y = 0, z = 0, color = 0xff4500, stats = {} }) {
Expand Down

0 comments on commit c6a09b7

Please sign in to comment.