aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorlbsa712008-01-09 18:26:40 +0000
committerlbsa712008-01-09 18:26:40 +0000
commitb46999097217e5b6dc9405ab410c5f79a71aeccf (patch)
tree518d1ddec82cc8dba7dc31ebfe55d81a4436b764 /OpenSim/Framework
parentDid someone say missing files? Thanks Sakai (diff)
downloadopensim-SC_OLD-b46999097217e5b6dc9405ab410c5f79a71aeccf.zip
opensim-SC_OLD-b46999097217e5b6dc9405ab410c5f79a71aeccf.tar.gz
opensim-SC_OLD-b46999097217e5b6dc9405ab410c5f79a71aeccf.tar.bz2
opensim-SC_OLD-b46999097217e5b6dc9405ab410c5f79a71aeccf.tar.xz
* Added helpers to convert from LSL PrimitiveParams values to PrimitiveBaseShape values
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index 1424395..abdd570 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -227,5 +227,17 @@ namespace OpenSim.Framework
227 227
228 return shape; 228 return shape;
229 } 229 }
230
231 public void SetPathRange( LLVector3 pathRange )
232 {
233 PathBegin = LLObject.PackBeginCut(pathRange.X);
234 PathEnd = LLObject.PackEndCut(pathRange.Y);
235 }
236
237 public void SetProfileRange( LLVector3 profileRange )
238 {
239 ProfileBegin = LLObject.PackBeginCut(profileRange.X);
240 ProfileEnd = LLObject.PackEndCut(profileRange.Y);
241 }
230 } 242 }
231} 243}