Changeset 176 for cpp/frams/genetics/fF/fF_chamber3d.cpp
- Timestamp:
- 03/15/14 02:30:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified cpp/frams/genetics/fF/fF_chamber3d.cpp ¶
r174 r176 2 2 // Copyright (C) 2002-2014 Maciej Komosinski and Szymon Ulatowski. See LICENSE.txt for details. 3 3 // Refer to http://www.framsticks.com/ for further information. 4 4 5 #include "fF_chamber3d.h" 5 6 #include "conv_fF.h" … … 8 9 fF_chamber3d::~fF_chamber3d() 9 10 { 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 } 15 15 16 16 fF_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) 19 19 { 20 20 points = NULL; 21 21 this->centerX = centerX; 22 22 this->centerY = centerY; … … 30 30 this->vectorTfZ = vectorTfZ; 31 31 this->beta = beta; 32 this->phi = phi; 32 this->phi = phi; 33 33 }
Note: See TracChangeset
for help on using the changeset viewer.