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
dist
temp
types
*.local

View File

@ -1,9 +1,10 @@
dist
docs
screenshots
temp
types
.eslintrc.js
.gitignore
index.html
rollup.config.js
tsconfig.json
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",
"version": "0.2.3",
"version": "0.3.0-beta.0",
"scripts": {
"dev": "vite",
"types": "tsc",
"build": "vue-tsc --noEmit && vite build",
"rollup": "rollup -c"
"rollup": "tsc && rollup -c"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.14.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/three": "^0.127.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
@ -30,7 +29,6 @@
"rollup-plugin-esbuild": "^4.1.0",
"stats.js": "0.17.0",
"three": "^0.127",
"tslib": "^2.2.0",
"typescript": "^4.1.5",
"vite": "^2.1.5",
"vue": "^3.0.11",
@ -45,9 +43,10 @@
"url": "git+https://github.com/troisjs/trois.git"
},
"keywords": [
"threejs",
"vuejs",
"vitejs",
"threejs"
"webgl",
"vitejs"
],
"author": "Kevin Levron",
"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 LambertMaterial } from './LambertMaterial'
export { default as MatcapMaterial } from './MatcapMaterial'

View File

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