Skip to content

Commit

Permalink
Adds a utility method to know if an OpenGL object has a border
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisDrogoul committed Jun 20, 2021
1 parent a712192 commit c5fdc66
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -137,4 +137,8 @@ public void getTranslationForScalingInto(final GamaPoint p) {
p.setLocation(0, 0, 0);
}

public boolean isBordered() {
return getAttributes().getBorder() != null;
}

}

0 comments on commit c5fdc66

Please sign in to comment.