DRW: Debug Print: Fix print of vec3
This commit is contained in:
@@ -334,7 +334,7 @@ void drw_print_value(vec2 value)
|
||||
|
||||
void drw_print_value(vec3 value)
|
||||
{
|
||||
drw_print_no_endl("vec3(", value[0], ", ", value[1], ", ", value[1], ")");
|
||||
drw_print_no_endl("vec3(", value[0], ", ", value[1], ", ", value[2], ")");
|
||||
}
|
||||
|
||||
void drw_print_value(vec4 value)
|
||||
@@ -349,7 +349,7 @@ void drw_print_value(ivec2 value)
|
||||
|
||||
void drw_print_value(ivec3 value)
|
||||
{
|
||||
drw_print_no_endl("ivec3(", value[0], ", ", value[1], ", ", value[1], ")");
|
||||
drw_print_no_endl("ivec3(", value[0], ", ", value[1], ", ", value[2], ")");
|
||||
}
|
||||
|
||||
void drw_print_value(ivec4 value)
|
||||
@@ -364,7 +364,7 @@ void drw_print_value(uvec2 value)
|
||||
|
||||
void drw_print_value(uvec3 value)
|
||||
{
|
||||
drw_print_no_endl("uvec3(", value[0], ", ", value[1], ", ", value[1], ")");
|
||||
drw_print_no_endl("uvec3(", value[0], ", ", value[1], ", ", value[2], ")");
|
||||
}
|
||||
|
||||
void drw_print_value(uvec4 value)
|
||||
@@ -379,7 +379,7 @@ void drw_print_value(bvec2 value)
|
||||
|
||||
void drw_print_value(bvec3 value)
|
||||
{
|
||||
drw_print_no_endl("bvec3(", value[0], ", ", value[1], ", ", value[1], ")");
|
||||
drw_print_no_endl("bvec3(", value[0], ", ", value[1], ", ", value[2], ")");
|
||||
}
|
||||
|
||||
void drw_print_value(bvec4 value)
|
||||
|
||||
Reference in New Issue
Block a user