lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
19 lines • 505 B
JavaScript
import { Cube, PointLight } from "..";
import settings from "../api/settings";
import Dummy from "../display/Dummy";
settings.defaultLight = false;
const player = new Dummy();
const light = new PointLight();
light.shadows = true;
light.innerX = 300;
const ground = new Cube();
ground.y = -100;
ground.height = 20;
ground.depth = 9999;
ground.width = 9999;
light.onLoop = () => {
light.rotateY(5);
};
// player.src = "hand.glb"
// player.animationPaused = true
//# sourceMappingURL=testCharacter.js.map