assert(shape_model.get_data_dimension()==color_model.get_data_dimension()||!has_color_model());// The number of vertices (= model.getDataDimension() / 3) has to be equal for both models, or, alternatively, it has to be a shape-only model.
assert(shape_model.get_data_dimension()==color_model.get_data_dimension()||!has_color_model());// The number of vertices (= model.getDataDimension() / 3) has to be equal for both models, or, alternatively, it has to be a shape-only model.