Ignore:
Timestamp:
07/03/20 00:32:23 (3 years ago)
Author:
Maciej Komosinski
Message:
  • separate "0" and "0s" formats (for SHAPE_BALL_AND_STICK and SHAPE_SOLIDS, respectively)
  • converting to format list (Geno::F0_FORMAT_LIST = "0,0s")
  • (optional) declaring Model as SHAPE_BALL_AND_STICK or SHAPE_SOLIDS (or SHAPE_UNKNOWN)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/geometry/geometrytestutils.cpp

    r737 r972  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2017  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    2424        {
    2525                count++;
    26                 totalSize += genotype->genotype.len();
    27 
    28                 fprintf(stderr, "%d. (%6d chars) %s\n", count, genotype->genotype.len(),
     26                totalSize += genotype->genotype.length();
     27
     28                fprintf(stderr, "%d. (%6d chars) %s\n", count, genotype->genotype.length(),
    2929                        genotype->name.c_str());
    3030        }
     
    6363                if ((genoIndex == count) || (strcmp(genotype->name.c_str(), genoName) == 0))
    6464                {
    65                         Model model(genotype->genotype);
     65                        Model model(genotype->genotype, Model::SHAPE_UNKNOWN);
    6666
    6767                        if (!model.isValid())
Note: See TracChangeset for help on using the changeset viewer.