From: curt Date: Sat, 12 Jun 1999 21:09:41 +0000 (+0000) Subject: Add a method to return pointer to data array. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=08a3420b568ee61c43a1f7e38b32f4404eef3088;p=flightgear.git Add a method to return pointer to data array. --- diff --git a/Lib/Math/point3d.hxx b/Lib/Math/point3d.hxx index d92638026..e324410a1 100644 --- a/Lib/Math/point3d.hxx +++ b/Lib/Math/point3d.hxx @@ -113,6 +113,7 @@ public: double& operator [] ( int i); // indexing double operator[] (int i) const; // read-only indexing + inline const double *get_n() const { return n; }; double x() const; // cartesian x double y() const; // cartesian y double z() const; // cartesian z