UNPKG

mylingo3d

Version:

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

14 lines (10 loc) 354 B
import { OctahedronGeometry } from "three" import { radiusScaled } from "../../engine/constants" import Primitive from "../core/Primitive" const geometry = new OctahedronGeometry(radiusScaled) export default class Octahedron extends Primitive { public static componentName = "octahedron" public constructor() { super(geometry) } }