-
- Downloads
Merge gl-geo
Showing
- .gitignore 3 additions, 1 deletion.gitignore
- .vscode/settings.json 1 addition, 1 deletion.vscode/settings.json
- .vscode/tasks.json 5 additions, 0 deletions.vscode/tasks.json
- package.json 29 additions, 12 deletionspackage.json
- src/apps/render-test/index.tsx 3 additions, 1 deletionsrc/apps/render-test/index.tsx
- src/apps/render-test/state.ts 171 additions, 0 deletionssrc/apps/render-test/state.ts
- src/apps/render-test/ui.tsx 10 additions, 3 deletionssrc/apps/render-test/ui.tsx
- src/helpers.d.ts 15 additions, 0 deletionssrc/helpers.d.ts
- src/mol-geo/primitive/box.ts 95 additions, 0 deletionssrc/mol-geo/primitive/box.ts
- src/mol-geo/primitive/icosahedron.ts 28 additions, 0 deletionssrc/mol-geo/primitive/icosahedron.ts
- src/mol-geo/primitive/polyhedron.ts 94 additions, 0 deletionssrc/mol-geo/primitive/polyhedron.ts
- src/mol-geo/representation/structure/spacefill.ts 0 additions, 0 deletionssrc/mol-geo/representation/structure/spacefill.ts
- src/mol-geo/shape/point.ts 17 additions, 0 deletionssrc/mol-geo/shape/point.ts
- src/mol-geo/shape/sphere.ts 5 additions, 0 deletionssrc/mol-geo/shape/sphere.ts
- src/mol-geo/util.ts 113 additions, 0 deletionssrc/mol-geo/util.ts
- src/mol-gl/attribute.ts 102 additions, 0 deletionssrc/mol-gl/attribute.ts
- src/mol-gl/camera.ts 191 additions, 0 deletionssrc/mol-gl/camera.ts
- src/mol-gl/model.ts 57 additions, 0 deletionssrc/mol-gl/model.ts
- src/mol-gl/renderable.ts 21 additions, 0 deletionssrc/mol-gl/renderable.ts
- src/mol-gl/renderable/line.ts 5 additions, 0 deletionssrc/mol-gl/renderable/line.ts
... | @@ -12,10 +12,13 @@ | ... | @@ -12,10 +12,13 @@ |
}, | }, | ||
"scripts": { | "scripts": { | ||
"lint": "tslint src/**/*.ts", | "lint": "tslint src/**/*.ts", | ||
"build": "tsc", | "build": "cpx \"src/**/*.{vert,frag,glsl}\" build/node_modules/ && tsc", | ||
"watch": "tsc -watch", | "watch": "tsc -watch", | ||
"watch-shader": "cpx \"src/**/*.{vert,frag,glsl}\" build/node_modules/ --watch", | |||
"test": "jest", | "test": "jest", | ||
"script": "node build/node_modules/script.js" | "script": "node build/node_modules/script.js", | ||
"app-render-test": "webpack build/node_modules/apps/render-test/index.js --mode development -o web/render-test/index.js", | |||
"app-render-test-watch": "webpack build/node_modules/apps/render-test/index.js -w --mode development -o web/render-test/index.js" | |||
}, | }, | ||
"jest": { | "jest": { | ||
"moduleFileExtensions": [ | "moduleFileExtensions": [ | ||
... | @@ -30,29 +33,41 @@ | ... | @@ -30,29 +33,41 @@ |
"build/node_modules" | "build/node_modules" | ||
], | ], | ||
"moduleNameMapper": { | "moduleNameMapper": { | ||
"mol-task($|/.*)": "<rootDir>/src/mol-task$1", | |||
"mol-comp($|/.*)": "<rootDir>/src/mol-comp$1", | |||
"mol-util($|/.*)": "<rootDir>/src/mol-util$1", | |||
"mol-data($|/.*)": "<rootDir>/src/mol-data$1", | "mol-data($|/.*)": "<rootDir>/src/mol-data$1", | ||
"mol-math($|/.*)": "<rootDir>/src/mol-math$1", | "mol-gl($|/.*)": "<rootDir>/src/mol-gl$1", | ||
"mol-io($|/.*)": "<rootDir>/src/mol-io$1", | "mol-io($|/.*)": "<rootDir>/src/mol-io$1", | ||
"mol-model($|/.*)": "<rootDir>/src/mol-model$1" | "mol-math($|/.*)": "<rootDir>/src/mol-math$1", | ||
"mol-model($|/.*)": "<rootDir>/src/mol-model$1", | |||
"mol-ql($|/.*)": "<rootDir>/src/mol-ql$1", | |||
"mol-task($|/.*)": "<rootDir>/src/mol-task$1", | |||
"mol-util($|/.*)": "<rootDir>/src/mol-util$1" | |||
}, | }, | ||
"testRegex": "\\.spec\\.ts$" | "testRegex": "\\.spec\\.ts$" | ||
}, | }, | ||
"glslify": { | |||
"transform": [ | |||
"glslify-import" | |||
] | |||
}, | |||
"author": "", | "author": "", | ||
"license": "MIT", | "license": "MIT", | ||
"devDependencies": { | "devDependencies": { | ||
"@types/argparse": "^1.0.33", | "@types/argparse": "^1.0.33", | ||
"@types/benchmark": "^1.0.31", | "@types/benchmark": "^1.0.31", | ||
"@types/express": "^4.11.1", | "@types/express": "^4.11.1", | ||
"@types/jest": "^22.2.2", | "@types/jest": "^22.1.3", | ||
"@types/node": "^9.6.1", | "@types/node": "^9.6.0", | ||
"@types/node-fetch": "^1.6.7", | "@types/node-fetch": "^1.6.7", | ||
"@types/react": "^16.1.0", | "@types/react": "^16.1.0", | ||
"@types/react-dom": "^16.0.4", | "@types/react-dom": "^16.0.4", | ||
"benchmark": "^2.1.4", | "benchmark": "^2.1.4", | ||
"jest": "^22.4.3", | "copyfiles": "^2.0.0", | ||
"cpx": "^1.5.0", | |||
"extra-watch-webpack-plugin": "^1.0.1", | |||
"glslify-import": "^3.1.0", | |||
"glslify-loader": "^1.0.2", | |||
"jest": "^22.4.2", | |||
"raw-loader": "^0.5.1", | |||
"regl": "git+https://github.com/regl-project/regl.git#45c6ec570232420fca21567499c9c5a2a054432e", | "regl": "git+https://github.com/regl-project/regl.git#45c6ec570232420fca21567499c9c5a2a054432e", | ||
"rollup": "^0.56.5", | "rollup": "^0.56.5", | ||
"rollup-plugin-buble": "^0.19.2", | "rollup-plugin-buble": "^0.19.2", | ||
... | @@ -63,8 +78,10 @@ | ... | @@ -63,8 +78,10 @@ |
"ts-jest": "^22.4.2", | "ts-jest": "^22.4.2", | ||
"tslint": "^5.9.1", | "tslint": "^5.9.1", | ||
"typescript": "^2.8.1", | "typescript": "^2.8.1", | ||
"uglify-js": "^3.3.16", | "uglify-js": "^3.3.12", | ||
"util.promisify": "^1.0.0" | "util.promisify": "^1.0.0", | ||
"webpack": "^4.2.0", | |||
"webpack-cli": "^2.0.13" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"argparse": "^1.0.10", | "argparse": "^1.0.10", | ||
... | ... |
src/apps/render-test/state.ts
0 → 100644
src/helpers.d.ts
0 → 100644
src/mol-geo/primitive/box.ts
0 → 100644
src/mol-geo/primitive/icosahedron.ts
0 → 100644
src/mol-geo/primitive/polyhedron.ts
0 → 100644
src/mol-geo/shape/point.ts
0 → 100644
src/mol-geo/shape/sphere.ts
0 → 100644
src/mol-geo/util.ts
0 → 100644
src/mol-gl/attribute.ts
0 → 100644
src/mol-gl/camera.ts
0 → 100644
src/mol-gl/model.ts
0 → 100644
src/mol-gl/renderable.ts
0 → 100644
src/mol-gl/renderable/line.ts
0 → 100644
Please register or sign in to comment