// This file is a part of Framsticks SDK. http://www.framsticks.com/ // Copyright (C) 1999-2018 Maciej Komosinski and Szymon Ulatowski. // See LICENSE.txt for details. #ifndef _GENEPROPS_H #define _GENEPROPS_H #include #include /** * Contains physical, biological and other properties of * stick, except for rotation. The constructor initializes properties of sticks with * default values. In order to change a property of a stick, the executeModifier() method * should be called. Modification of length, curvedness and twist properties * usually affects further sticks, so new sticks should have properties of * parents (prop) modified with the prop.propagateAlong() method. * "Biological" properties (assimilation, stamina, muscle strength and * ingestion) should be normalized after modification with normalizeBiol4(). */ struct GeneProps { public: double length; ///