Skip to content

Commit

Permalink
⬆️ glm
Browse files Browse the repository at this point in the history
  • Loading branch information
elect86 committed Nov 6, 2017
1 parent 14e8752 commit 433b086
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 26 deletions.
11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__com_google_guava_guava_18_0.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__com_sksamuel_koors_koors_0_90_0.xml

This file was deleted.

8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ group = 'com.github.kotlin-graphics'

buildscript {

ext.kotlinVersion = '1.2-M2'
ext.kotlinVersion = '1.2.0-rc-39'

repositories {
jcenter() // shadow
Expand All @@ -28,11 +28,11 @@ dependencies {

compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"

testCompile 'com.github.elect86:kotlintest:43281b7e1b98a12e832397f464a938e97021adde'
testCompile 'io.kotlintest:kotlintest:2.0.7'

compile "com.github.kotlin-graphics:glm:a7098f133c1804969135e93be469a80b35ff0a45"
compile "com.github.kotlin-graphics:glm:dc299f80f3dca9d3e8b793641da03db1702df58c"

compile "net.java.dev.jna:jna:4.4.0"
compile "net.java.dev.jna:jna:4.5.0"
}

repositories {
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/openvr/EventListener.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ open class EventListener(val hmd: IVRSystem) {
}

private fun process() {
if(event.eventType_internal == 10005) return // bug https://github.com/ValveSoftware/openvr/issues/420
when (event.eventType) {
EVREventType.TrackedDeviceActivated -> updateRoles().also { trackedDeviceActivated(event.trackedDeviceIndex == left) }
EVREventType.TrackedDeviceDeactivated -> updateRoles().also { trackedDeviceDeactivated(event.trackedDeviceIndex == left) }
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/openvr/lib/openvr.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ open class VkPhysicalDevice_T : Structure {
class ByReference : VkPhysicalDevice_T(), Structure.ByReference
class ByValue : VkPhysicalDevice_T(), Structure.ByValue
}

open class VkInstance_T : Structure {

constructor()
Expand Down

0 comments on commit 433b086

Please sign in to comment.