Skip to content

Commit

Permalink
👷 MRjs - Auto Generated Dist 👷
Browse files Browse the repository at this point in the history
Changes at a7e322a
  • Loading branch information
github-actions[bot] committed Feb 14, 2024
1 parent a7e322a commit e97a753
Show file tree
Hide file tree
Showing 56 changed files with 30,739 additions and 0 deletions.
Binary file added 57cf7fc5ff4d6dfc74e4.module.wasm
Binary file not shown.
Binary file added assets/audio/rain-loop.wav
Binary file not shown.
Binary file added assets/audio/thunder-clap1.mp3
Binary file not shown.
Binary file added assets/audio/thunder-clap2.wav
Binary file not shown.
Binary file added assets/fonts/BricolageGrotesque.ttf
Binary file not shown.
Binary file added assets/fonts/Roboto-Regular.ttf
Binary file not shown.
31 changes: 31 additions & 0 deletions assets/js/SpinSystem.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
class SpinSystem extends MRSystem {
constructor() {
super()

console.log(this.componentName);
}

update(deltaTime, frame) {
for(const entity of this.registry){
let component = entity.components.get("spin")
if (Math.abs(component.speed) < Math.abs(component.maxspeed)) {
entity.components.set("spin", { speed: parseFloat(component.speed) + parseFloat(component.acceleration) })
}
entity.object3D.rotation.z += parseFloat(component.speed);
}
}

attachedComponent(entity) {
entity.components.set("spin", { speed: 0 })
}

detachedComponent(entity) {

}

rotate = (entity, component) => {

}
}

let spinsys = new SpinSystem()
Binary file added assets/models/Mars.glb
Binary file not shown.
Binary file added assets/models/animation_koifish.glb
Binary file not shown.
Binary file added assets/models/daffodils_island.glb
Binary file not shown.
Binary file added assets/models/island3.glb
Binary file not shown.
Binary file added assets/models/logo.bin
Binary file not shown.
124 changes: 124 additions & 0 deletions assets/models/logo.dae

Large diffs are not rendered by default.

Binary file added assets/models/logo.fbx
Binary file not shown.
Binary file added assets/models/logo.glb
Binary file not shown.
91 changes: 91 additions & 0 deletions assets/models/logo.gltf
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v4.0.43",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"logo"
}
],
"meshes":[
{
"name":"logo",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1
},
"indices":2
}
]
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":6518,
"max":[
28.86751365661621,
30.618621826171875,
25
],
"min":[
-21.13202476501465,
-19.381378173828125,
-25
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":6518,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5123,
"count":39096,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":78216,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":78216,
"byteOffset":78216,
"target":34962
},
{
"buffer":0,
"byteLength":78192,
"byteOffset":156432,
"target":34963
}
],
"buffers":[
{
"byteLength":234624,
"uri":"logo.bin"
}
]
}
2 changes: 2 additions & 0 deletions assets/models/logo.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Blender 4.0.0 MTL File: 'None'
# www.blender.org
Loading

0 comments on commit e97a753

Please sign in to comment.