Ignore:
Timestamp:
03/15/14 02:30:20 (10 years ago)
Author:
Maciej Komosinski
Message:

Renamed #defines that conflicted with system-wide defines for Windows (added fF_ prefix), updated ranges for scaling parameters, updated the simplest genotype, formatted sources

File:
1 edited

Legend:

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

    r174 r176  
    22// Copyright (C) 2002-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
    33// Refer to http://www.framsticks.com/ for further information.
     4
    45#include "fF_chamber3d.h"
    56#include "conv_fF.h"
     
    89fF_chamber3d::~fF_chamber3d()
    910{
    10     for (int i = 0; i < SIZE; i++){
    11         delete []points[i];
    12     }
    13     delete []points;
    14 }   
     11        for (int i = 0; i < fF_SIZE; i++)
     12                delete[] points[i];
     13        delete[] points;
     14}
    1515
    1616fF_chamber3d::fF_chamber3d(float centerX, float centerY, float centerZ,
    17 float radius, float holeX, float holeY, float holeZ,
    18 float vectorTfX, float vectorTfY, float vectorTfZ, float beta, float phi)
     17        float radius, float holeX, float holeY, float holeZ,
     18        float vectorTfX, float vectorTfY, float vectorTfZ, float beta, float phi)
    1919{
    20         points = NULL;
     20        points = NULL;
    2121        this->centerX = centerX;
    2222        this->centerY = centerY;
     
    3030        this->vectorTfZ = vectorTfZ;
    3131        this->beta = beta;
    32         this->phi = phi;                       
     32        this->phi = phi;
    3333}
Note: See TracChangeset for help on using the changeset viewer.