@margoengine/cameras 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/NOTICE +4 -0
- package/README.md +675 -2
- package/dist/clearance.d.ts +92 -0
- package/dist/clearance.js +138 -0
- package/dist/errors-Cp7bu2gW.js +7 -0
- package/dist/fit-box.d.ts +34 -0
- package/dist/gpu-BRxrrZK3.js +31 -0
- package/dist/hologram.d.ts +75 -0
- package/dist/hologram.js +208 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.js +1 -0
- package/dist/layers-CkdgcqTK.js +59 -0
- package/dist/layers.d.ts +36 -0
- package/dist/layers.js +1 -0
- package/dist/offaxis.d.ts +82 -0
- package/dist/offaxis.js +175 -0
- package/dist/origin.d.ts +63 -0
- package/dist/origin.js +147 -0
- package/dist/panini.d.ts +90 -0
- package/dist/panini.js +184 -0
- package/dist/panorama.d.ts +46 -0
- package/dist/panorama.js +128 -0
- package/dist/physical.d.ts +99 -0
- package/dist/physical.js +77 -0
- package/dist/shots.d.ts +41 -0
- package/dist/shots.js +31 -0
- package/dist/src-_OQ7cR69.js +353 -0
- package/dist/stereo.d.ts +61 -0
- package/dist/stereo.js +181 -0
- package/dist/view-rect-p0kR0Q6B.js +38 -0
- package/dist/wide-cube.d.ts +123 -0
- package/dist/wide-cube.js +215 -0
- package/dist/wide-laws-Dj0410P1.js +20 -0
- package/dist/wide-laws.d.ts +5 -0
- package/package.json +105 -4
package/package.json
CHANGED
|
@@ -1,6 +1,107 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@margoengine/cameras",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Orthographic projection and exactly vertical (top-down) views for the core camera, with matching culling and picking.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"margoengine",
|
|
7
|
+
"webgpu",
|
|
8
|
+
"3d",
|
|
9
|
+
"cameras"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://margoengine.com",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
18
|
+
"directory": "packages/cameras"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"author": "Scott Campbell",
|
|
22
|
+
"type": "module",
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"import": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./shots": {
|
|
30
|
+
"types": "./dist/shots.d.ts",
|
|
31
|
+
"import": "./dist/shots.js"
|
|
32
|
+
},
|
|
33
|
+
"./origin": {
|
|
34
|
+
"types": "./dist/origin.d.ts",
|
|
35
|
+
"import": "./dist/origin.js"
|
|
36
|
+
},
|
|
37
|
+
"./layers": {
|
|
38
|
+
"types": "./dist/layers.d.ts",
|
|
39
|
+
"import": "./dist/layers.js"
|
|
40
|
+
},
|
|
41
|
+
"./offaxis": {
|
|
42
|
+
"types": "./dist/offaxis.d.ts",
|
|
43
|
+
"import": "./dist/offaxis.js"
|
|
44
|
+
},
|
|
45
|
+
"./physical": {
|
|
46
|
+
"types": "./dist/physical.d.ts",
|
|
47
|
+
"import": "./dist/physical.js"
|
|
48
|
+
},
|
|
49
|
+
"./panini": {
|
|
50
|
+
"types": "./dist/panini.d.ts",
|
|
51
|
+
"import": "./dist/panini.js"
|
|
52
|
+
},
|
|
53
|
+
"./wide-cube": {
|
|
54
|
+
"types": "./dist/wide-cube.d.ts",
|
|
55
|
+
"import": "./dist/wide-cube.js"
|
|
56
|
+
},
|
|
57
|
+
"./panorama": {
|
|
58
|
+
"types": "./dist/panorama.d.ts",
|
|
59
|
+
"import": "./dist/panorama.js"
|
|
60
|
+
},
|
|
61
|
+
"./stereo": {
|
|
62
|
+
"types": "./dist/stereo.d.ts",
|
|
63
|
+
"import": "./dist/stereo.js"
|
|
64
|
+
},
|
|
65
|
+
"./hologram": {
|
|
66
|
+
"types": "./dist/hologram.d.ts",
|
|
67
|
+
"import": "./dist/hologram.js"
|
|
68
|
+
},
|
|
69
|
+
"./clearance": {
|
|
70
|
+
"types": "./dist/clearance.d.ts",
|
|
71
|
+
"import": "./dist/clearance.js"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"files": [
|
|
75
|
+
"dist",
|
|
76
|
+
"LICENSE",
|
|
77
|
+
"NOTICE"
|
|
78
|
+
],
|
|
79
|
+
"publishConfig": {
|
|
80
|
+
"access": "public"
|
|
81
|
+
},
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"@margoengine/math": "^1.0.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"@margoengine/core": "^1.0.0",
|
|
87
|
+
"@margoengine/environment": "^1.0.0",
|
|
88
|
+
"@margoengine/post": "^1.0.0"
|
|
89
|
+
},
|
|
90
|
+
"peerDependenciesMeta": {
|
|
91
|
+
"@margoengine/environment": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"@margoengine/post": {
|
|
95
|
+
"optional": true
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"scripts": {
|
|
99
|
+
"build": "node ../../scripts/build-optional.js cameras",
|
|
100
|
+
"test": "npm run build && node --test test/*.test.js",
|
|
101
|
+
"prepack": "npm run build",
|
|
102
|
+
"test:gpu": "cd ../.. && node packages/cameras/test/browser-check.mjs",
|
|
103
|
+
"test:browser:panorama": "cd ../.. && node packages/cameras/test/panorama-browser.mjs",
|
|
104
|
+
"test:browser:stereo": "cd ../.. && node packages/cameras/test/stereo-browser.mjs",
|
|
105
|
+
"test:browser:hologram": "cd ../.. && node packages/cameras/test/hologram-browser.mjs"
|
|
106
|
+
}
|
|
107
|
+
}
|