add some more intuitive overloads for PrimitiveBaseShape SetPathRange and SetProfileRange

trunk
Dahlia Trimble 2009-07-01 01:27:36 +00:00
parent 858b0a2efd
commit aae94a8c80
1 changed files with 12 additions and 0 deletions

View File

@ -316,6 +316,12 @@ namespace OpenSim.Framework
_pathEnd = Primitive.PackEndCut(pathRange.Y);
}
public void SetPathRange(float begin, float end)
{
_pathBegin = Primitive.PackBeginCut(begin);
_pathEnd = Primitive.PackEndCut(end);
}
public void SetSculptData(byte sculptType, UUID SculptTextureUUID)
{
_sculptType = sculptType;
@ -328,6 +334,12 @@ namespace OpenSim.Framework
_profileEnd = Primitive.PackEndCut(profileRange.Y);
}
public void SetProfileRange(float begin, float end)
{
_profileBegin = Primitive.PackBeginCut(begin);
_profileEnd = Primitive.PackEndCut(end);
}
public byte[] ExtraParams
{
get