diff options
author | Teravus Ovares | 2008-03-24 21:48:33 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-24 21:48:33 +0000 |
commit | dd6a9ffbc7c086abf66e0ce0ff4da2ee80fdb7fb (patch) | |
tree | 3d37e261eed74a91b8198ea8811cbed934fb3ae1 /OpenSim/Region/Environment | |
parent | * Inflate my commits with yet another snippet of documentation... (j/k) (diff) | |
download | opensim-SC-dd6a9ffbc7c086abf66e0ce0ff4da2ee80fdb7fb.zip opensim-SC-dd6a9ffbc7c086abf66e0ce0ff4da2ee80fdb7fb.tar.gz opensim-SC-dd6a9ffbc7c086abf66e0ce0ff4da2ee80fdb7fb.tar.bz2 opensim-SC-dd6a9ffbc7c086abf66e0ce0ff4da2ee80fdb7fb.tar.xz |
* OBB: Flipped the -y face normal so ray casting against the -y face correctly results in the point of collision.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index ddfa332..b2ba70c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1028,7 +1028,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1028 | //vertexes[0].z = pos.Z + vertexes[0].z; | 1028 | //vertexes[0].z = pos.Z + vertexes[0].z; |
1029 | 1029 | ||
1030 | FaceA[0] = vertexes[0]; | 1030 | FaceA[0] = vertexes[0]; |
1031 | FaceA[3] = vertexes[0]; | 1031 | FaceB[3] = vertexes[0]; |
1032 | FaceA[4] = vertexes[0]; | 1032 | FaceA[4] = vertexes[0]; |
1033 | 1033 | ||
1034 | tScale = AXscale; | 1034 | tScale = AXscale; |
@@ -1053,7 +1053,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1053 | //vertexes[2].z = pos.Z + vertexes[2].z; | 1053 | //vertexes[2].z = pos.Z + vertexes[2].z; |
1054 | 1054 | ||
1055 | FaceC[0] = vertexes[2]; | 1055 | FaceC[0] = vertexes[2]; |
1056 | FaceC[3] = vertexes[2]; | 1056 | FaceD[3] = vertexes[2]; |
1057 | FaceC[5] = vertexes[2]; | 1057 | FaceC[5] = vertexes[2]; |
1058 | 1058 | ||
1059 | tScale = new Vector3(AXscale.x, AXscale.y, -AXscale.z); | 1059 | tScale = new Vector3(AXscale.x, AXscale.y, -AXscale.z); |
@@ -1101,7 +1101,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1101 | // vertexes[6].z = pos.Z + vertexes[6].z; | 1101 | // vertexes[6].z = pos.Z + vertexes[6].z; |
1102 | 1102 | ||
1103 | FaceB[2] = vertexes[6]; | 1103 | FaceB[2] = vertexes[6]; |
1104 | FaceB[3] = vertexes[6]; | 1104 | FaceA[3] = vertexes[6]; |
1105 | FaceB[4] = vertexes[6]; | 1105 | FaceB[4] = vertexes[6]; |
1106 | 1106 | ||
1107 | tScale = new Vector3(-AXscale.x, -AXscale.y, -AXscale.z); | 1107 | tScale = new Vector3(-AXscale.x, -AXscale.y, -AXscale.z); |
@@ -1113,7 +1113,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1113 | // vertexes[7].z = pos.Z + vertexes[7].z; | 1113 | // vertexes[7].z = pos.Z + vertexes[7].z; |
1114 | 1114 | ||
1115 | FaceD[2] = vertexes[7]; | 1115 | FaceD[2] = vertexes[7]; |
1116 | FaceD[3] = vertexes[7]; | 1116 | FaceC[3] = vertexes[7]; |
1117 | FaceD[5] = vertexes[7]; | 1117 | FaceD[5] = vertexes[7]; |
1118 | #endregion | 1118 | #endregion |
1119 | 1119 | ||