File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ class Qgs3DMapCanvas : public QWidget
62
62
63
63
/* *
64
64
* Sets the active map tool that will receive events from the 3D canvas. Does not transfer ownership.
65
- * If the tool is null , events will be used for camera manipulation.
65
+ * If the tool is NULLPTR , events will be used for camera manipulation.
66
66
*/
67
67
void setMapTool ( Qgs3DMapTool *tool );
68
68
69
69
/* *
70
70
* Returns the active map tool that will receive events from the 3D canvas.
71
- * If the tool is null , events will be used for camera manipulation.
71
+ * If the tool is NULLPTR , events will be used for camera manipulation.
72
72
*/
73
73
Qgs3DMapTool *mapTool () const { return mMapTool ; }
74
74
Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ class MyLine
694
694
else
695
695
{
696
696
mVertical = false ;
697
- mT = float ( p2.y () - p1.y () ) / ( p2.x () - p1.x () );
697
+ mT = ( p2.y () - p1.y () ) / ( p2.x () - p1.x () );
698
698
mIncreasing = ( p2.x () > p1.x () );
699
699
}
700
700
You can’t perform that action at this time.
0 commit comments