Last change
on this file since 176 was
176,
checked in by Maciej Komosinski, 11 years ago
|
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 size:
937 bytes
|
Line | |
---|
1 | // This file is a part of the Framsticks GDK.
|
---|
2 | // Copyright (C) 2002-2014 Maciej Komosinski and Szymon Ulatowski. See LICENSE.txt for details.
|
---|
3 | // Refer to http://www.framsticks.com/ for further information.
|
---|
4 |
|
---|
5 | #include "fF_chamber3d.h"
|
---|
6 | #include "conv_fF.h"
|
---|
7 | #include <iostream>
|
---|
8 |
|
---|
9 | fF_chamber3d::~fF_chamber3d()
|
---|
10 | {
|
---|
11 | for (int i = 0; i < fF_SIZE; i++)
|
---|
12 | delete[] points[i];
|
---|
13 | delete[] points;
|
---|
14 | }
|
---|
15 |
|
---|
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)
|
---|
19 | {
|
---|
20 | points = NULL;
|
---|
21 | this->centerX = centerX;
|
---|
22 | this->centerY = centerY;
|
---|
23 | this->centerZ = centerZ;
|
---|
24 | this->radius = radius;
|
---|
25 | this->holeX = holeX;
|
---|
26 | this->holeY = holeY;
|
---|
27 | this->holeZ = holeZ;
|
---|
28 | this->vectorTfX = vectorTfX;
|
---|
29 | this->vectorTfY = vectorTfY;
|
---|
30 | this->vectorTfZ = vectorTfZ;
|
---|
31 | this->beta = beta;
|
---|
32 | this->phi = phi;
|
---|
33 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.