@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/package.json CHANGED
@@ -1,6 +1,107 @@
1
1
  {
2
2
  "name": "@margoengine/cameras",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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
+ }