]> git.mxchange.org Git - simgear.git/commitdiff
Add a method to return pointer to data array.
authorcurt <curt>
Sat, 12 Jun 1999 21:09:41 +0000 (21:09 +0000)
committercurt <curt>
Sat, 12 Jun 1999 21:09:41 +0000 (21:09 +0000)
Lib/Math/point3d.hxx

index d92638026126efdd5a844c99cb1bfd10bd205bc3..e324410a153823080e5e127708ee36994bd43d93 100644 (file)
@@ -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