Ignore:
Timestamp:
06/07/17 12:01:16 (5 years ago)
Author:
Maciej Komosinski
Message:
  • fF foraminifera encoding supports scaling (radius) of the initial chamber (three new parameters added: radii for x,y,z)
  • mutation ignores these three parameters
  • float -> double for consistency everywhere
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fF/fF_chamber3d.h

    r286 r667  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2017  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    1212{
    1313public:
    14         float centerX;
    15         float centerY;
    16         float centerZ;
    17         float radius;
    18         float holeX;
    19         float holeY;
    20         float holeZ;
    21         float vectorTfX;
    22         float vectorTfY;
    23         float vectorTfZ;
    24         float beta;
    25         float phi;
     14        double centerX;
     15        double centerY;
     16        double centerZ;
     17        double radius_x;
     18        double radius_y;
     19        double radius_z;
     20        double holeX;
     21        double holeY;
     22        double holeZ;
     23        double vectorTfX;
     24        double vectorTfY;
     25        double vectorTfZ;
     26        double beta;
     27        double phi;
     28
    2629        fF_point *points;
    2730
    28         fF_chamber3d(float centerX, float centerY, float centerZ,
    29                 float radius, float holeX, float holeY, float holeZ,
    30                 float vectorTfX, float vectorTfY, float vectorTfZ, float beta, float phi);
     31        fF_chamber3d(double centerX, double centerY, double centerZ,
     32                double radius_x, double radius_y, double radius_z, double holeX, double holeY, double holeZ,
     33                double vectorTfX, double vectorTfY, double vectorTfZ, double beta, double phi);
    3134        ~fF_chamber3d();
    3235};
Note: See TracChangeset for help on using the changeset viewer.