interactive objects integration
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user