Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Apr 3, 2016
1 parent b0a38c3 commit ec277fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@

# Debug files
*.dSYM/
.DS_Store
2 changes: 1 addition & 1 deletion include/glisy/math/vec3.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ struct vec3 { float x; float y; float z; };

#define vec3_normalize(a) (vec3) ({ \
float len = (a.x * a.x) + (a.y * a.y) + (a.z * a.z); \
vec3 vec; \
vec3 vec = {0, 0, 0}; \
if (len > 0) { \
len = (1/sqrt(len)); \
vec.x = (a.x * len); \
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
],
"install": "make install",
"dependencies": {
"clibs/rgba": "0.0.1",
"jwerle/fs.c": "0.1.2"
"jwerle/fs.c": "0.1.2",
"littlstar/libsop": "0.0.1",
"glisy/color": "0.0.2"
}
}
}

0 comments on commit ec277fe

Please sign in to comment.