interactive objects integration

This commit is contained in:
2025-11-04 16:41:42 +02:00
parent 429ab07db5
commit 4236927537
13 changed files with 178 additions and 243 deletions
@@ -3,7 +3,7 @@ import { Text } from "troika-three-text";
import { assignParams } from "@/lib/MeshUtils";
class TextObject {
constructor(obj, params) {
constructor(obj, engine, params) {
const txt = new Text();
// Set properties to configure:
txt.text = obj.text;