Browse Source

fix for issue #1027 - result of rayTest()

Stephen Gold 6 years ago
parent
commit
acd056584d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

+ 2 - 2
jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2018 jMonkeyEngine
+ * Copyright (c) 2009-2019 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -1001,7 +1001,7 @@ public class PhysicsSpace {
      * unaffected)
      * @return a new list of results (not null)
      */
-    public List rayTest(Vector3f from, Vector3f to) {
+    public List<PhysicsRayTestResult> rayTest(Vector3f from, Vector3f to) {
         List<PhysicsRayTestResult> results = new ArrayList<PhysicsRayTestResult>();
         rayTest(from, to, results);