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

20 lines (15 loc) 489 B
/** * @Author Nikola Lukic * @Description Matrix Engine Api Example. */ /* globals world App world */ import App from "../program/manifest"; export var runThis = world => { /* globals App world */ var textuteImageSamplers = { source: ["res/images/complex_texture_1/diffuse.webp"], mix_operation: "multiply", // ENUM : multiply , divide }; world.Add("sphereLightTex", 2, "MySphere", textuteImageSamplers); App.scene.MySphere.position.z = -10; };