refactor: use LSL_Vector(Vector3) constructor in llGroundNormal()

This commit is contained in:
Justin Clark-Casey (justincc)
2013-03-14 22:28:40 +00:00
parent f8c24b2a61
commit e6eb914675

View File

@@ -6071,7 +6071,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
//I believe the crossproduct of two normalized vectors is a normalized vector so
//this normalization may be overkill
return new LSL_Vector(vsn.X, vsn.Y, vsn.Z);
return new LSL_Vector(vsn);
}
public LSL_Vector llGroundContour(LSL_Vector offset)