浏览代码

Merge pull request #92 from her001/raycasting

Grammar fixes in "Ray-casting"
Rémi Verschelde 9 年之前
父节点
当前提交
5c763d0bb8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tutorials/ray-casting.rst

+ 2 - 2
tutorials/ray-casting.rst

@@ -7,7 +7,7 @@ Introduction
 ------------
 ------------
 
 
 One of the most common tasks in game development is casting a ray (or
 One of the most common tasks in game development is casting a ray (or
-custom shaped object) and see what it hits. This enables complex
+custom shaped object) and checking what it hits. This enables complex
 behaviors, AI, etc. to take place. This tutorial will explain how to
 behaviors, AI, etc. to take place. This tutorial will explain how to
 do this in 2D and 3D.
 do this in 2D and 3D.
 
 
@@ -85,7 +85,7 @@ must be used, for example:
         # use global coordinates, not local to node
         # use global coordinates, not local to node
         var result = space_state.intersect_ray( Vector2(0,0), Vector2(50,100) )
         var result = space_state.intersect_ray( Vector2(0,0), Vector2(50,100) )
 
 
-Result is a dictionary, if ray didn't hit anything, the dictionary will
+Result is a dictionary. If the ray didn't hit anything, the dictionary will
 be empty. If it did hit something it will contain collision information:
 be empty. If it did hit something it will contain collision information:
 
 
 ::
 ::