UNPKG

matrix-engine

Version:

DISABLE RAYCAST DEBUG TEST [2.3.3] Fix for GUI win desktop [2.3.0] DestrucMesh solution & loading convex objs for physics BASIC, SpriteAnimation CPU/texture solution added, Improved notify box UI. Test netPos Offset ; dispatchEvent(new CustomEvent(net-rea

19 lines (14 loc) 453 B
/** *@Author Nikola Lukic *@Description Matrix Engine Api Example */ /* globals world App world */ import App from "../program/manifest"; export var runThis = world => { var textuteImageSamplers = { source: ["res/images/complex_texture_1/diffuse.webp"], mix_operation: "multiply", }; world.Add("squareTex", 1, "MySquareTexure1", textuteImageSamplers); App.scene.MySquareTexure1.rotation.rotationSpeed.x = 10; };