Skip to content

Commit

Permalink
(#20) Added examples
Browse files Browse the repository at this point in the history
- polygon2d - Creating Polygon2D objects
- text2d - Creating Text2D objects
- model2d - Creating Model2D objects
- modelreadwrite - Reading & Writing Model2D objects
- logging - FastJ logging
- fastjengineconfig - FastJEngine Configuration
  • Loading branch information
lucasstarsz committed Jun 6, 2021
1 parent 0257128 commit 66e49a7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import tech.fastj.math.Point;
import tech.fastj.math.Pointf;
import tech.fastj.graphics.Display;
import tech.fastj.graphics.DrawUtil;
import tech.fastj.graphics.util.DrawUtil;
import tech.fastj.graphics.game.Polygon2D;

import tech.fastj.systems.control.SimpleManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import tech.fastj.engine.FastJEngine;
import tech.fastj.math.Pointf;
import tech.fastj.graphics.DrawUtil;
import tech.fastj.graphics.util.DrawUtil;
import tech.fastj.graphics.game.Model2D;
import tech.fastj.graphics.game.Polygon2D;

Expand Down
4 changes: 0 additions & 4 deletions src/example/java/tech/fastj/example/polygon2d/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ public void init(Display display) {

/* You can set the following properties of a Polygon2D:
* - Mesh (Pointf[])
<<<<<<< HEAD
* - Paint (solid color, gradient)
=======
* - Color
>>>>>>> 0ac5fa4 ((#20) Added examples)
* - PaintFilled (render the outline or fill)
* - Rotation
* - Scale
Expand Down

0 comments on commit 66e49a7

Please sign in to comment.