mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
Do not fix uv coords when printing .obj.
This commit is contained in:
parent
08c0e49cf4
commit
771c8e4697
1 changed files with 4 additions and 2 deletions
|
|
@ -315,8 +315,10 @@ static std::string printTex(const uv &texture_coordinates)
|
|||
{
|
||||
std::string s;
|
||||
float i;
|
||||
auto u = modf(fabs(texture_coordinates.u), &i);
|
||||
auto v = modf(fabs(texture_coordinates.v), &i);
|
||||
//auto u = modf(fabs(texture_coordinates.u), &i);
|
||||
//auto v = modf(fabs(texture_coordinates.v), &i);
|
||||
auto u = texture_coordinates.u;
|
||||
auto v = texture_coordinates.v;
|
||||
s = "vt " + print_float(u) + " " + print_float(v);
|
||||
return s;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue