Changeset 920 for cpp/frams/model


Ignore:
Timestamp:
05/10/20 01:24:46 (4 years ago)
Author:
Maciej Komosinski
Message:

Hinges and a muscle for solid shapes in f0

Location:
cpp/frams/model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/f0-SDK-classes.h

    r915 r920  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    3030 {"y",0,1024,"position.y","f",FIELD(p.y),},
    3131 {"z",0,1024,"position.z","f",FIELD(p.z),},
    32  {"sh",1,0,"shape","d 0 3 0",FIELD(shape),},
    33  {"s",1,0,"size","f 0.1 10.0 1.0",FIELD(size),},
    34  {"sx",1,0,"scale.x","f 0.001 1000.0 1.0",FIELD(scale.x),},
    35  {"sy",1,0,"scale.y","f 0.001 1000.0 1.0",FIELD(scale.y),},
    36  {"sz",1,0,"scale.z","f 0.001 1000.0 1.0",FIELD(scale.z),},
     32 {"sh",0,0,"shape","d 0 3 0",FIELD(shape),},
     33 {"s",0,0,"size","f 0.1 10.0 1.0",FIELD(size),},
     34 {"sx",0,0,"scale.x","f 0.001 1000.0 1.0",FIELD(scale.x),},
     35 {"sy",0,0,"scale.y","f 0.001 1000.0 1.0",FIELD(scale.y),},
     36 {"sz",0,0,"scale.z","f 0.001 1000.0 1.0",FIELD(scale.z),},
    3737 {"h",1,0,"hollow","f 0 1 0",FIELD(hollow),},
    3838 {"dn",1,0,"density","f 0.2 5.0 1.0",FIELD(density),},
     
    8383 {"dy",1,1024,"delta.y","f -2 2 0",FIELD(d.y),},
    8484 {"dz",1,1024,"delta.z","f -2 2 0",FIELD(d.z),},
    85  {"sh",1,0,"shape","d 0 1 0",FIELD(shape),},
     85 {"sh",1,0,"shape","d 0 3 0",FIELD(shape),},
    8686 {"hx",1,0,"hinge position.x","f",FIELD(hinge_pos.x),},
    8787 {"hy",1,1024,"hinge position.y","f",FIELD(hinge_pos.y),},
     
    126126 {"p1",0,1024,"part1 ref#","d -1 999999 -1",FIELD(p1_refno),},
    127127 {"p2",0,1024,"part2 ref#","d -1 999999 -1",FIELD(p2_refno),},
    128  {"sh",1,0,"shape","d 0 1 0",FIELD(shape),},
     128 {"sh",1,0,"shape","d 0 3 0",FIELD(shape),},
    129129 {"hx",1,0,"hinge position.x","f",FIELD(hinge_pos.x),},
    130130 {"hy",1,1024,"hinge position.y","f",FIELD(hinge_pos.y),},
     
    223223
    224224
     225
  • cpp/frams/model/modelparts.h

    r915 r920  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2018  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    283283                V1BendMuscle = 64,
    284284                V1RotMuscle = 128,
    285                 LinearMuscle = 256
     285                LinearMuscle = 256,
     286                SolidMuscleFlag = 512 // the "Flag" suffix should be unified/made consistent with other enum items
    286287        };
    287288
Note: See TracChangeset for help on using the changeset viewer.