Remove testpackage

This commit is contained in:
Julian
2020-01-21 19:47:41 +01:00
parent b1f3564363
commit 8aaf31c114
3 changed files with 8 additions and 3 deletions

View File

@@ -18,11 +18,9 @@
"author": "Julian Niessner",
"license": "ISC",
"devDependencies": {
"@types/seedrandom": "^2.4.28",
"browserify": "^16.5.0",
"typescript": "^3.7.5"
},
"dependencies": {
"seedrandom": "^3.0.5"
}
}

View File

@@ -9,6 +9,13 @@ function main() {
return;
}
let vertices = [ -0.5, -0.5, 0.0,
0.5, -0.5, 0.0,
0.0, 0.5, 0.0];
console.log(vertices);
// Setze clear color auf schwarz, vollständig sichtbar
gl.clearColor(0.0, 1.0, 0.0, 1.0);
// Lösche den color buffer mit definierter clear color

View File

@@ -10,7 +10,7 @@
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./build/", /* Redirect output structure to the directory. */
// "rootDir": "./src/", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */