diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmath/llvolume.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/llmath/llvolume.cpp b/linden/indra/llmath/llvolume.cpp index ab4efe6..3316168 100644 --- a/linden/indra/llmath/llvolume.cpp +++ b/linden/indra/llmath/llvolume.cpp | |||
@@ -11,12 +11,12 @@ | |||
11 | * ("GPL"), unless you have obtained a separate licensing agreement | 11 | * ("GPL"), unless you have obtained a separate licensing agreement |
12 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 12 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
13 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 13 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
14 | * online at http://secondlife.com/developers/opensource/gplv2 | 14 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
15 | * | 15 | * |
16 | * There are special exceptions to the terms and conditions of the GPL as | 16 | * There are special exceptions to the terms and conditions of the GPL as |
17 | * it is applied to this Source Code. View the full text of the exception | 17 | * it is applied to this Source Code. View the full text of the exception |
18 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 18 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
19 | * online at http://secondlife.com/developers/opensource/flossexception | 19 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
20 | * | 20 | * |
21 | * By copying, modifying or distributing this software, you acknowledge | 21 | * By copying, modifying or distributing this software, you acknowledge |
22 | * that you have read and understood your obligations described above, | 22 | * that you have read and understood your obligations described above, |
@@ -86,7 +86,7 @@ const S32 SCULPT_REZ_2 = 8; | |||
86 | const S32 SCULPT_REZ_3 = 16; | 86 | const S32 SCULPT_REZ_3 = 16; |
87 | const S32 SCULPT_REZ_4 = 32; | 87 | const S32 SCULPT_REZ_4 = 32; |
88 | 88 | ||
89 | const F32 SCULPT_MIN_AREA = 0.005f; | 89 | const F32 SCULPT_MIN_AREA = 0.002f; |
90 | 90 | ||
91 | BOOL check_same_clock_dir( const LLVector3& pt1, const LLVector3& pt2, const LLVector3& pt3, const LLVector3& norm) | 91 | BOOL check_same_clock_dir( const LLVector3& pt1, const LLVector3& pt2, const LLVector3& pt3, const LLVector3& norm) |
92 | { | 92 | { |
@@ -1833,9 +1833,9 @@ inline LLVector3 sculpt_rgb_to_vector(U8 r, U8 g, U8 b) | |||
1833 | { | 1833 | { |
1834 | // maps RGB values to vector values [0..255] -> [-0.5..0.5] | 1834 | // maps RGB values to vector values [0..255] -> [-0.5..0.5] |
1835 | LLVector3 value; | 1835 | LLVector3 value; |
1836 | value.mV[VX] = r / 256.f - 0.5f; | 1836 | value.mV[VX] = r / 255.f - 0.5f; |
1837 | value.mV[VY] = g / 256.f - 0.5f; | 1837 | value.mV[VY] = g / 255.f - 0.5f; |
1838 | value.mV[VZ] = b / 256.f - 0.5f; | 1838 | value.mV[VZ] = b / 255.f - 0.5f; |
1839 | 1839 | ||
1840 | return value; | 1840 | return value; |
1841 | } | 1841 | } |