Browse Source

Grammar fixes in "Ray-casting"

Andrew Conrad 9 years ago
parent
commit
83657f9e28
1 changed files with 2 additions and 2 deletions
  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:
 
 
 ::
 ::