1 #include "geometrybuilder.h"
2 #include "meshbuilder.h"
7 GeometryBuilder &GeometryBuilder::tangents(bool t)
13 GeometryBuilder &GeometryBuilder::texture_fit(TextureFit tf)
19 void GeometryBuilder::adjust_texture_scale(float &u_scale, float &v_scale, float width, float height) const
23 if((width<height)==(tex_fit==CROP))
24 u_scale *= width/height;
26 v_scale *= height/width;
30 void GeometryBuilder::build(Mesh &mesh) const
32 MeshBuilder builder(mesh);
33 builder.auto_offset();