UNPKG

mylingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

12 lines (10 loc) 304 B
import HTMLMesh from "../display/HTMLMesh" import Cube from "../display/primitives/Cube" import createElement from "../utils/createElement" const mesh = new HTMLMesh() mesh.element = createElement(` <div style="color: blue">hello world</div> `) mesh.sprite = true const box = new Cube() box.x = 150