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=2640b433559e06e009dc52a1a5db10885faada15;p=simgear.git Add a method to return pointer to data array. --- diff --git a/Lib/Math/point3d.hxx b/Lib/Math/point3d.hxx index d9263802..e324410a 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