@margoengine/cameras 0.1.0 → 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 -201
- package/NOTICE +4 -4
- package/README.md +676 -621
- package/dist/clearance.d.ts +92 -0
- package/dist/clearance.js +138 -0
- package/dist/hologram.js +3 -3
- package/dist/offaxis.js +3 -3
- package/dist/origin.js +4 -4
- package/dist/panini.js +3 -3
- package/dist/panorama.js +2 -2
- package/dist/shots.d.ts +41 -0
- package/dist/shots.js +31 -0
- package/dist/src-_OQ7cR69.js +3 -3
- package/dist/stereo.js +3 -3
- package/dist/wide-cube.js +3 -3
- package/package.json +107 -99
package/package.json
CHANGED
|
@@ -1,99 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@margoengine/cameras",
|
|
3
|
-
"version": "
|
|
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
|
-
"./
|
|
30
|
-
"types": "./dist/
|
|
31
|
-
"import": "./dist/
|
|
32
|
-
},
|
|
33
|
-
"./
|
|
34
|
-
"types": "./dist/
|
|
35
|
-
"import": "./dist/
|
|
36
|
-
},
|
|
37
|
-
"./
|
|
38
|
-
"types": "./dist/
|
|
39
|
-
"import": "./dist/
|
|
40
|
-
},
|
|
41
|
-
"./
|
|
42
|
-
"types": "./dist/
|
|
43
|
-
"import": "./dist/
|
|
44
|
-
},
|
|
45
|
-
"./
|
|
46
|
-
"types": "./dist/
|
|
47
|
-
"import": "./dist/
|
|
48
|
-
},
|
|
49
|
-
"./
|
|
50
|
-
"types": "./dist/
|
|
51
|
-
"import": "./dist/
|
|
52
|
-
},
|
|
53
|
-
"./
|
|
54
|
-
"types": "./dist/
|
|
55
|
-
"import": "./dist/
|
|
56
|
-
},
|
|
57
|
-
"./
|
|
58
|
-
"types": "./dist/
|
|
59
|
-
"import": "./dist/
|
|
60
|
-
},
|
|
61
|
-
"./
|
|
62
|
-
"types": "./dist/
|
|
63
|
-
"import": "./dist/
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
},
|
|
82
|
-
"
|
|
83
|
-
"@margoengine/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"@margoengine/
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
},
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@margoengine/cameras",
|
|
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
|
+
}
|