Skip to content

Commit

Permalink
Fixed vec3_print
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi688 committed Jan 28, 2022
1 parent 4e4bb52 commit 7b6a4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/hpml/vec3/template_instantiations.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ instantiate_implementation_vec3_negate(int);

void vec3_print(int)(vec3_t(int) v)
{
printf("vec3_t(int): { %d, %d }\n", v.x, v.y);
printf("vec3_t(int): { %d, %d, %d }\n", v.x, v.y, v.z);
}

instantiate_implementation_vec3_add(float);
Expand All @@ -108,7 +108,7 @@ instantiate_implementation_vec3_box(float);
instantiate_implementation_vec3_negate(float);
void vec3_print(float)(vec3_t(float) v)
{
printf("vec3_t(float): { %f, %f }\n", v.x, v.y);
printf("vec3_t(float): { %f, %f, %f }\n", v.x, v.y, v.z);
}
#endif /*IMPLEMENTATION*/
/*End: Template Instantiations*/
Expand Down

0 comments on commit 7b6a4d3

Please sign in to comment.