Added float s, float t parameters to createTexturedGeometry function
This commit is contained in:
@@ -377,7 +377,7 @@ class SG_EXPORT Geometry : public Drawable
|
||||
|
||||
/** Convenience function to be used for creating quad geometry with texture coords.
|
||||
* Tex coords go from bottom left (0,0) to top right (1,1).*/
|
||||
extern SG_EXPORT Geometry* createTexturedQuadGeometry(const Vec3& corner,const Vec3& widthVec,const Vec3& heightVec);
|
||||
extern SG_EXPORT Geometry* createTexturedQuadGeometry(const Vec3& corner,const Vec3& widthVec,const Vec3& heightVec, float s=1.0f, float t=1.0f);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user