mirror of
https://github.com/opensim/opensim.git
synced 2026-06-30 02:57:02 +08:00
refactor: use LSL_Vector(Vector3) constructor in llGroundNormal()
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user