Skip to content

Commit

Permalink
more README.md formatting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
c committed Aug 23, 2023
1 parent eedabc1 commit f5c31ff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ libraryDependencies += "ai.dragonfly" %%% "mesh" % "<LATEST_VERSION>"
```

<h3>Features:</h3>

- Fast, lightweight mesh generation for:
- Plane
- Cube
Expand All @@ -29,6 +30,7 @@ import ai.dragonfly.math.vector.Vec.*
import ai.dragonfly.mesh.shape.*
```
<h4>Plane</h4>

```scala
// Plane
Plane(
Expand All @@ -40,6 +42,7 @@ Plane(
)
```
<h4>Cube</h4>

```scala
Cube.minimal( 1.0 /* side length */ ) // minimal

Expand All @@ -52,6 +55,7 @@ Cube(
)
```
<h4>Cylinder</h4>

```scala
Cylinder() // default parameters

Expand All @@ -65,6 +69,7 @@ Cylinder(
)
```
<h4>Drum</h4>

```scala
Drum() // default parameters

Expand All @@ -80,6 +85,7 @@ Drum(
)
```
<h4>Threaded Bolt</h4>

```scala
Bolt() // default parameters

Expand All @@ -95,6 +101,7 @@ Bolt(
)
```
<h4>Threaded Screw</h4>

```scala
Screw() // default parameters

Expand Down Expand Up @@ -136,6 +143,7 @@ PLY.writeMesh( // write directly to an output Stream


<h3>MTL:</h3>

```scala
import ai.dragonfly.mesh.io.MTL

Expand All @@ -156,6 +164,7 @@ MTL.writeMTL(material, os) // write directly to an output Stream
```

<h3>OBJ:</h3>

```scala
import ai.dragonfly.mesh.shape.*
import ai.dragonfly.mesh.io.OBJ
Expand Down

0 comments on commit f5c31ff

Please sign in to comment.