Changeset 1118 for cpp/frams/_demos


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/_demos/shapeconvert.cpp

    r1115 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
     
    3838        PreconfiguredGenetics genetics;
    3939        Part::Shape shape = Part::SHAPE_CYLINDER;
    40         float thickness = 0.1;
     40        float thickness = Part::DEFAULT_STICK_RADIUS;
    4141
    4242        char* gen_arg = 0;
Note: See TracChangeset for help on using the changeset viewer.