Ignore:
Timestamp:
05/28/20 18:00:45 (4 years ago)
Author:
Maciej Komosinski
Message:

Neuron classes now have a property (a bit field) that says whether each neuron class supports model shape BALL_AND_STICK, SOLIDS, or both

File:
1 edited

Legend:

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

    r926 r932  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2019  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    9898NeuroClass::NeuroClass(ParamEntry *_props, SString _description,
    9999        int _prefinputs, int _prefoutput, int _preflocation,
    100         int *_vectordata, bool own_vd, int vhints)
     100        int *_vectordata, bool own_vd, int vhints, int sup_shapes)
    101101        :ownedvectordata(own_vd),
    102102        name(_props->name), longname(_props->id), description(_description),
     
    105105        prefoutput(_prefoutput),
    106106        preflocation(_preflocation),
     107        supported_shape_types(sup_shapes),
    107108        vectordata(_vectordata),
    108109        visualhints(vhints), impl_count(0),/*impl(0),*/active(1), genactive(0)
Note: See TracChangeset for help on using the changeset viewer.