Mercurial > mm7
diff Render.cpp @ 2191:48a28fe1f32f
pInventoryItemList->Reset()
author | Ritor1 |
---|---|
date | Thu, 30 Jan 2014 17:41:54 +0600 |
parents | e1e4a8a20b5f |
children | d0e321190c86 |
line wrap: on
line diff
--- a/Render.cpp Wed Jan 29 22:08:04 2014 +0600 +++ b/Render.cpp Thu Jan 30 17:41:54 2014 +0600 @@ -8656,7 +8656,7 @@ { if ( next_vertices_flag ) { - //t = neer_clip - v0.x / v1.x - v0.x (формула получения точки пересечения отрезка с плоскостью) + //t = near_clip - v0.x / v1.x - v0.x (формула получения точки пересечения отрезка с плоскостью) t = (8.0 - array_50AC10[i].vWorldViewPosition.x) / (array_50AC10[i + 1].vWorldViewPosition.x - array_50AC10[i].vWorldViewPosition.x); array_507D30[out_num_vertices].vWorldViewPosition.y = (array_50AC10[i + 1].vWorldViewPosition.y - array_50AC10[i].vWorldViewPosition.y) * t + array_50AC10[i].vWorldViewPosition.y; array_507D30[out_num_vertices].vWorldViewPosition.z = (array_50AC10[i + 1].vWorldViewPosition.z - array_50AC10[i].vWorldViewPosition.z) * t + array_50AC10[i].vWorldViewPosition.z;