fix for issue #1027 - result of rayTest()

This commit is contained in:
Stephen Gold 2019-02-26 17:05:58 -08:00
parent 47d7fdd930
commit acd056584d

View File

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