summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindinglinksets.h
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-01-18 16:17:40 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-01-18 16:17:40 -0800
commit47c9b857980d6bc32b03e2757c9d9fb689805b86 (patch)
tree7ec7c3be82f21fba696fbb39cd394f685c8f7c54 /indra/newview/llfloaterpathfindinglinksets.h
parent3567fa111300e059f4778ec60a3afd5ba40298ad (diff)
PATH-186: Changing the base type for internal storage of the walkability coefficients to be S32 instead of F32 to avoid precision errors in comparing values when determining which values need to be updated through the PUT service.
Diffstat (limited to 'indra/newview/llfloaterpathfindinglinksets.h')
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/indra/newview/llfloaterpathfindinglinksets.h b/indra/newview/llfloaterpathfindinglinksets.h
index 84d05c36c8..cd56e1e46c 100644
--- a/indra/newview/llfloaterpathfindinglinksets.h
+++ b/indra/newview/llfloaterpathfindinglinksets.h
@@ -63,17 +63,17 @@ public:
BOOL isPhantom() const;
void setPhantom(BOOL pIsPhantom);
- F32 getA() const;
- void setA(F32 pA);
+ S32 getA() const;
+ void setA(S32 pA);
- F32 getB() const;
- void setB(F32 pB);
+ S32 getB() const;
+ void setB(S32 pB);
- F32 getC() const;
- void setC(F32 pC);
+ S32 getC() const;
+ void setC(S32 pC);
- F32 getD() const;
- void setD(F32 pD);
+ S32 getD() const;
+ void setD(S32 pD);
protected:
@@ -86,10 +86,10 @@ private:
BOOL mIsFixed;
BOOL mIsWalkable;
BOOL mIsPhantom;
- F32 mA;
- F32 mB;
- F32 mC;
- F32 mD;
+ S32 mA;
+ S32 mB;
+ S32 mC;
+ S32 mD;
};
class FilterString