Skip to content

Commit

Permalink
Add more colorings to data types
Browse files Browse the repository at this point in the history
  • Loading branch information
abc013 committed Mar 9, 2024
1 parent 32f3b87 commit 5fde148
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions playground/DataTypeLib.js
Expand Up @@ -47,12 +47,20 @@ export const typeToColorLib = {
string: '#ff0000',
float: '#eeeeee',
bool: '#00dd00',
vec2: '#0000ff',
vec3: '#0000ff',
vec4: '#0000ff',
mat2: '#70d030',
mat3: '#70d030',
mat4: '#70d030',
color: '#00ffff',
// cpu
String: '#ff0000',
Number: '#eeeeee',
Vector2: '#0000ff',
Vector3: '#0000ff',
Vector4: '#0000ff',
Color: '#00ffff',
// cpu: other stuff
Material: '#228b22',
Object3D: '#00a1ff',
Expand Down

0 comments on commit 5fde148

Please sign in to comment.