- Timestamp:
- 08/27/25 18:15:39 (7 days ago)
- Location:
- cpp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/Convert.h
r1339 r1347 6 6 #define _CONVERT_H_ 7 7 8 #include "nonstd_math.h" 8 9 #include "nonstd.h" 9 #include "nonstd_math.h"10 10 #include "nonstd_stl.h" 11 11 #include <stdint.h> -
cpp/common/nonstd_math.cpp
r1298 r1347 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-202 4Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2025 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 5 5 #include "nonstd_math.h" 6 #ifdef USE_PRINTFLOAT_DRAGON4 6 7 #include <PrintFloat/PrintFloat.h> 8 #endif 7 9 #include <string.h> // strncpy() 8 10 #include <sstream> -
cpp/frams/genetics/f9/f9_conv.cpp
r1337 r1347 154 154 double ax = fabs(d.x), ay = fabs(d.y), az = fabs(d.z); 155 155 // Pairs of colors should be easy to associate as "one family" at a glance, but different so that we use all main six parts of the spectrum. 156 // Colors are slightly brightened to make them more pastel/plastic; extreme saturation pure red=1,0,0 or blue 156 // Colors are slightly brightened to make them more pastel/plastic; extreme saturation pure red=1,0,0 or blue=0,0,1 do not look good. 157 157 // Find the longest axis (i.e., recover the information from the genotype: was this joint created by LR, BF, or DU?) 158 158 if ((ax > ay) && (ax > az)) // x
Note: See TracChangeset
for help on using the changeset viewer.