fix for issue #1027 - result of rayTest()

This commit is contained in:
Stephen Gold 2019-02-26 17:05:58 -08:00
parent 4581b6cb36
commit 15f9f69611

View File

@ -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);