Tagteam Texture Editor Commit Night!

Update 1: Align Planar Textures.
Update 2: Copy/Paste buttons for texture params now work.

Sorry about another two-in-one patch, but y'can't really change one without the other on this.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-15 20:38:33 -04:00
parent b215b405ea
commit 24f3101629
5 changed files with 340 additions and 10 deletions

View File

@@ -93,6 +93,9 @@ public:
BOOL hasGeometry() const { return mGeomCount > 0; }
LLVector3 getPositionAgent() const;
LLVector2 surfaceToTexture(LLVector2 surface_coord, LLVector3 position, LLVector3 normal);
void getPlanarProjectedParams(LLQuaternion* face_rot, LLVector3* face_pos, F32* scale) const;
bool calcAlignedPlanarTE(const LLFace* align_to, LLVector2* st_offset,
LLVector2* st_scale, F32* st_rot) const;
U32 getState() const { return mState; }
void setState(U32 state) { mState |= state; }