mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0023634: Eliminate Polyline and Polygon usage in drawers
Polylines and polygons removed, now everything is based on PrimitiveArrays. Added use of Graphic3d_ArrayOfSegments, some additional clean up in Graphic3d_Group. Dead code elimination in AIS and V3d Corrected compilation errors Fixed grid presentation Adding test case correction
This commit is contained in:
@@ -46,11 +46,9 @@ OpenGl_Text::OpenGl_Text (const TCollection_ExtendedString& AText,
|
||||
if (myString) delete[] myString;
|
||||
myString = wstr;
|
||||
|
||||
Standard_Real X, Y, Z;
|
||||
APoint.Coord(X, Y, Z);
|
||||
myAttachPnt.xyz[0] = float (X);
|
||||
myAttachPnt.xyz[1] = float (Y);
|
||||
myAttachPnt.xyz[2] = float (Z);
|
||||
myAttachPnt.xyz[0] = APoint.X();
|
||||
myAttachPnt.xyz[1] = APoint.Y();
|
||||
myAttachPnt.xyz[2] = APoint.Z();
|
||||
|
||||
myParam.Height = int (AHeight);
|
||||
|
||||
|
Reference in New Issue
Block a user