Changeset 80 for cpp/gdk/3d.h


Ignore:
Timestamp:
02/08/13 03:22:37 (11 years ago)
Author:
Maciej Komosinski
Message:
  • new properties in Parts and Joints: visual red, green, blue, thickness
  • updated list of Neurons and their properties
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/gdk/3d.h

    r66 r80  
    66#define _3D_H_
    77
    8 #include <memory.h>
     8#ifdef SHP
     9#include <string.h> //memcpy
     10#else
     11#include <memory.h> //memcpy
     12#endif
    913
    1014/**********************************
     
    4953double operator()() const;
    5054/** vector length = \f$\sqrt{x^2+y^2+z^2}\f$  */
    51 double length() const {return operator()();}
     55double length() const {return operator()();}
     56double length2() const {return x*x+y*y+z*z;}
    5257double distanceTo(const Pt3D& p) const;
    5358double manhattanDistanceTo(const Pt3D& p) const;
     
    131136
    132137#endif
    133 
Note: See TracChangeset for help on using the changeset viewer.