Ignore:
Timestamp:
03/31/21 03:05:28 (3 years ago)
Author:
Maciej Komosinski
Message:

Introduced a common constant for default stick thickness when converting "ball-and-stick" models to "solid-shape" models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/modelparts.h

    r1039 r1118  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2021  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    103103        };
    104104        static const char* getShapeName(Shape sh);
     105        static constexpr double DEFAULT_STICK_RADIUS = 0.1; //used in SHAPETYPE_BALL_AND_STICK to SHAPETYPE_SOLIDS Model conversion
    105106
    106107        double mass, size, density, friction, ingest, assim, hollow;
Note: See TracChangeset for help on using the changeset viewer.