Skip to content

Commit 08c1830

Browse files
committed
README.md
1 parent 68c2240 commit 08c1830

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,15 @@ fun camera(translate: Float, rotate: Vec2): Mat4 {
4141

4242
### How to retrieve it:
4343

44-
You can find all the instructions by [mary](https://github.com/kotlin-graphics/mary)
44+
```kotlin
45+
repositories {
46+
maven("https://raw.githubusercontent.com/kotlin-graphics/mary/master")
47+
// or with magik plugin
48+
//github("kotlin-graphics/mary")
49+
}
50+
dependencies {
51+
implementation("kotlin.graphics:glm:0.9.9.1-7")
52+
}
53+
```
54+
55+
You can find more info by [mary](https://github.com/kotlin-graphics/mary)

build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ kotlin.jvmToolchain { languageVersion.set(JavaLanguageVersion.of(8)) }
3030

3131
tasks {
3232
withType<KotlinCompile<*>>().all {
33-
kotlinOptions {
34-
freeCompilerArgs += listOf("-opt-in=kotlin.RequiresOptIn")
35-
}
33+
kotlinOptions { freeCompilerArgs += listOf("-opt-in=kotlin.RequiresOptIn") }
3634
}
3735
test { useJUnitPlatform() }
3836
}

0 commit comments

Comments
 (0)