CLEANUP: But it can also be a single object

This commit is contained in:
Dave Corley 2025-04-10 10:13:42 -07:00
parent 586467540b
commit 1d1ae1c906

View file

@ -69,7 +69,7 @@
--- ---
-- A table of parameters for @{#nearby.castRay} -- A table of parameters for @{#nearby.castRay}
-- @type CastRayOptions -- @type CastRayOptions
-- @field openmw.core#ObjectList ignore An array of objects to ignore (specify here the source of the ray, or other objects which should not collide) -- @field #any ignore An @{openmw.core#GameObject} or @{openmw.core#ObjectList} to ignore (specify here the source of the ray, or other objects which should not collide)
-- @field #number collisionType Object types to work with (see @{openmw.nearby#COLLISION_TYPE}) -- @field #number collisionType Object types to work with (see @{openmw.nearby#COLLISION_TYPE})
-- @field #number radius The radius of the ray (zero by default). If not zero then castRay actually casts a sphere with given radius. -- @field #number radius The radius of the ray (zero by default). If not zero then castRay actually casts a sphere with given radius.
-- NOTE: currently `ignore` is not supported if `radius>0`. -- NOTE: currently `ignore` is not supported if `radius>0`.
@ -92,7 +92,7 @@
--- ---
-- A table of parameters for @{#nearby.castRenderingRay} and @{#nearby.asyncCastRenderingRay} -- A table of parameters for @{#nearby.castRenderingRay} and @{#nearby.asyncCastRenderingRay}
-- @type CastRenderingRayOptions -- @type CastRenderingRayOptions
-- @field openmw.core#ObjectList ignore A list of @{openmw.core#GameObject} to ignore while doing the ray cast -- @field #any ignore A @{openmw.core#GameObject} or @{openmw.core#ObjectList} to ignore while doing the ray cast
--- ---
-- Cast ray from one point to another and find the first visual intersection with anything in the scene. -- Cast ray from one point to another and find the first visual intersection with anything in the scene.