Skip to content

Commit

Permalink
Merge pull request #57 from niermann999/feat-add-material
Browse files Browse the repository at this point in the history
feat: Add surface material to the proto surface
  • Loading branch information
asalzburger authored Mar 18, 2024
2 parents 805cf45 + a6295d9 commit 43ca966
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meta/include/actsvg/proto/surface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <vector>

#include "actsvg/core/style.hpp"
#include "actsvg/proto/material.hpp"
#include "actsvg/styles/defaults.hpp"
#include "grid.hpp"

Expand Down Expand Up @@ -80,6 +81,9 @@ struct surface {
/// Decoration
std::map<std::string, svg::object> _decorations;

/// The surface material
surface_material _material = {};

/// A (potential) template for this surface
svg::object _template_object;

Expand Down

0 comments on commit 43ca966

Please sign in to comment.