Changeset 1347


Ignore:
Timestamp:
08/27/25 18:15:39 (25 hours ago)
Author:
Maciej Komosinski
Message:

Cosmetic

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/Convert.h

    r1339 r1347  
    66#define _CONVERT_H_
    77
     8#include "nonstd_math.h"
    89#include "nonstd.h"
    9 #include "nonstd_math.h"
    1010#include "nonstd_stl.h"
    1111#include <stdint.h>
  • cpp/common/nonstd_math.cpp

    r1298 r1347  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2024  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2025  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
    55#include "nonstd_math.h"
     6#ifdef USE_PRINTFLOAT_DRAGON4
    67#include <PrintFloat/PrintFloat.h>
     8#endif
    79#include <string.h> // strncpy()
    810#include <sstream>
  • cpp/frams/genetics/f9/f9_conv.cpp

    r1337 r1347  
    154154                        double ax = fabs(d.x), ay = fabs(d.y), az = fabs(d.z);
    155155                        // 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 0,0,1 do not look good.
     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.
    157157                        // Find the longest axis (i.e., recover the information from the genotype: was this joint created by LR, BF, or DU?)
    158158                        if ((ax > ay) && (ax > az)) // x
  • framspy/frams.py

    r1345 r1347  
    2727import ctypes, re, sys, os
    2828
    29 c_api = None  # will be initialized in init(). Global because ExtValue uses it.
     29c_api = None  # will be initialized in init(). This variable is global because all ExtValue objects use it extensively.
    3030
    3131
     
    320320        Similarly '-dPATH' and '-DPATH' needed by Framsticks are optional and derived from the first path, unless they are specified as args in init().
    321321        '-LNAME' is the optional library name (full name including the file name extension), default is 'frams-objects.dll/.so/.dylib' depending on the platform.
    322         All other arguments are passed to Framsticks and not interpreted by this function.
     322        All other arguments are passed to Framsticks and are not interpreted by this function.
    323323        """
    324324
     
    359359                        initargs.append(a)
    360360        if lib_path is None:
    361                 # TODO: use environment variable and/or the zip distribution we are in when the path is not specified in arg
    362                 # for now just assume the current dir is Framsticks
     361                # TODO: use environment variable and/or the zip distribution we are in when the path is not specified in arg.
     362                # For now, just assume the current dir is Framsticks.
    363363                lib_path = '.'
    364364
     
    378378        initargs.insert(0, frams_d)
    379379        initargs.insert(0, frams_D)
    380         initargs.insert(0, 'dummy.exe')  # as an offset, 0th arg is by convention app name
     380        initargs.insert(0, 'dummy.exe')  # as an offset, 0th arg is by convention the app name
    381381
    382382        global c_api  # access global variable
Note: See TracChangeset for help on using the changeset viewer.