1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-23 20:02:32 +08:00

0.3.0-beta.0

This commit is contained in:
Kevin Levron 2021-04-28 18:07:58 +02:00
parent 7cb758f2d1
commit 9a7d8eaa9b
17 changed files with 11301 additions and 4804 deletions

1
.gitignore vendored
View File

@ -2,4 +2,5 @@ node_modules
.DS_Store .DS_Store
dist dist
temp temp
types
*.local *.local

View File

@ -1,9 +1,10 @@
dist dist
docs
screenshots screenshots
temp temp
types
.eslintrc.js .eslintrc.js
.gitignore .gitignore
index.html index.html
rollup.config.js rollup.config.js
tsconfig.json
vite.config.js vite.config.js

View File

@ -1,13 +0,0 @@
{
"mainEntryPointFilePath": "./types/export.d.ts",
"apiReport": {
"enabled": true
},
"docModel": {
"enabled": true
},
"dtsRollup": {
"enabled": true,
"publicTrimmedFilePath": "./dist/trois.d.ts"
}
}

6127
build/trois.d.ts vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1
build/trois.js.map Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,14 +1,13 @@
{ {
"name": "troisjs", "name": "troisjs",
"version": "0.2.3", "version": "0.3.0-beta.0",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"types": "tsc", "types": "tsc",
"build": "vue-tsc --noEmit && vite build", "build": "vue-tsc --noEmit && vite build",
"rollup": "rollup -c" "rollup": "tsc && rollup -c"
}, },
"devDependencies": { "devDependencies": {
"@microsoft/api-extractor": "^7.14.0",
"@rollup/plugin-replace": "^2.3.3", "@rollup/plugin-replace": "^2.3.3",
"@types/three": "^0.127.1", "@types/three": "^0.127.1",
"@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/eslint-plugin": "^4.22.0",
@ -30,7 +29,6 @@
"rollup-plugin-esbuild": "^4.1.0", "rollup-plugin-esbuild": "^4.1.0",
"stats.js": "0.17.0", "stats.js": "0.17.0",
"three": "^0.127", "three": "^0.127",
"tslib": "^2.2.0",
"typescript": "^4.1.5", "typescript": "^4.1.5",
"vite": "^2.1.5", "vite": "^2.1.5",
"vue": "^3.0.11", "vue": "^3.0.11",
@ -45,9 +43,10 @@
"url": "git+https://github.com/troisjs/trois.git" "url": "git+https://github.com/troisjs/trois.git"
}, },
"keywords": [ "keywords": [
"threejs",
"vuejs", "vuejs",
"vitejs", "webgl",
"threejs" "vitejs"
], ],
"author": "Kevin Levron", "author": "Kevin Levron",
"license": "ISC", "license": "ISC",

View File

@ -1,4 +1,4 @@
export { MaterialInjectionKey } from './Material' export { default as Material, MaterialInjectionKey } from './Material'
export { default as BasicMaterial } from './BasicMaterial' export { default as BasicMaterial } from './BasicMaterial'
export { default as LambertMaterial } from './LambertMaterial' export { default as LambertMaterial } from './LambertMaterial'
export { default as MatcapMaterial } from './MatcapMaterial' export { default as MatcapMaterial } from './MatcapMaterial'

View File

@ -1,10 +1,10 @@
import { Texture, TextureLoader } from 'three' import { Texture, TextureLoader } from 'three'
interface TextureConfigInterface { export interface TextureConfigInterface {
src: string src: string
} }
interface TexturesInterface { export interface TexturesInterface {
loader: TextureLoader loader: TextureLoader
count: number count: number
textures: Texture[], textures: Texture[],