Skip to content

Commit

Permalink
samples-update-16
Browse files Browse the repository at this point in the history
  • Loading branch information
kipash committed Apr 3, 2024
1 parent 73ba41d commit 2c2d2b9
Show file tree
Hide file tree
Showing 23 changed files with 224 additions and 6,365 deletions.
Binary file added include/SvelteKitProjectSample.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added include/needle/poweredbyneedle.webp
Binary file not shown.
6,573 changes: 217 additions & 6,356 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"dependencies": {
"@needle-tools/engine": "^3.28.7",
"three": "npm:@needle-tools/three@^0.154.3"
"@needle-tools/engine": "^3.36.2-beta",
"three": "npm:@needle-tools/three@^0.162.2"
},
"devDependencies": {
"@needle-tools/helper": "^1.6.0",
"@needle-tools/helper": "^1.8.0",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/adapter-static": "^2.0.2",
"@sveltejs/kit": "^1.5.0",
"@types/three": "0.154.0",
"@types/three": "0.162.0",
"glob": "^10.2.5",
"mdsvex": "^0.11.0",
"svelte": "^4.1.2",
Expand Down
8 changes: 3 additions & 5 deletions src/generated/gen.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import "./register_types.ts"
globalThis["needle:dependencies:ready"] = import("./register_types.ts")

export const needle_exported_files = new Array();
globalThis["needle:codegen_files"] = needle_exported_files;
needle_exported_files.push("assets/SvelteKitSample.glb?v=1693232900157");
needle_exported_files.push("assets/SvelteKitSample.glb?v=1712157794626");
document.addEventListener("DOMContentLoaded", () =>
{
const needleEngine = document.querySelector("needle-engine");
if(needleEngine && needleEngine.getAttribute("src") === null)
{
needleEngine.setAttribute("hash", "1693232900157");
needleEngine.setAttribute("hash", "1712157794626");
needleEngine.setAttribute("src", JSON.stringify(needle_exported_files));
}
});

console.log("Made\ with\ ♥\ by\ 🌵\ Needle\ -\ https://needle\.tools\ —\ Version\ 3\.12\.0-pre\.2");
Binary file modified static/assets/MyCube.glb
Binary file not shown.
Binary file modified static/assets/MySphere.glb
Binary file not shown.
Binary file modified static/assets/SvelteKitSample.glb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed static/assets/myScene.glb
Binary file not shown.

0 comments on commit 2c2d2b9

Please sign in to comment.