Changeset 1130 for cpp/frams/genetics/f1
- Timestamp:
- 04/16/21 15:55:34 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f1/f1_conv.cpp
r1039 r1130 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 18Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2021 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 5 5 #include "f1_conv.h" 6 #include <common/nonstd_stl.h>7 6 #include <common/log.h> 8 7 #include <frams/util/multirange.h> … … 11 10 #include <ctype.h> 12 11 #include <assert.h> 12 #include <algorithm> 13 13 14 14 //#define v1f1COMPATIBLE //as in ancient Framsticks 1.x … … 273 273 int Builder::growJoint(int part1, int part2, Pt3D &angle, GeneProps &c, const char *g) 274 274 { 275 double len = min(2.0, c.length);275 double len = std::min(2.0, c.length); 276 276 sprintf(tmp, "p1=%d,p2=%d,dx=%lg,rx=%lg,ry=%lg,rz=%lg,stam=%lg,vr=%g,vg=%g,vb=%g", 277 277 part1, part2, len, angle.x, angle.y, angle.z, c.stamina, c.cred, c.cgreen, c.cblue);
Note: See TracChangeset
for help on using the changeset viewer.