* Added helpers to convert from LSL PrimitiveParams values to PrimitiveBaseShape values

afrisby
lbsa71 2008-01-09 18:26:40 +00:00
parent 40dc26e28a
commit b469990972
1 changed files with 12 additions and 0 deletions

View File

@ -227,5 +227,17 @@ namespace OpenSim.Framework
return shape; return shape;
} }
public void SetPathRange( LLVector3 pathRange )
{
PathBegin = LLObject.PackBeginCut(pathRange.X);
PathEnd = LLObject.PackEndCut(pathRange.Y);
}
public void SetProfileRange( LLVector3 profileRange )
{
ProfileBegin = LLObject.PackBeginCut(profileRange.X);
ProfileEnd = LLObject.PackEndCut(profileRange.Y);
}
} }
} }