2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

Update names of methods, variables, and other elements

This commit is contained in:
MrScautHD
2023-07-15 13:28:19 +02:00
committed by GitHub
parent 10c0a6dd91
commit fd4ea148b9
27 changed files with 1190 additions and 1204 deletions

View File

@@ -12,17 +12,17 @@ namespace Raylib_cs
/// <summary>
/// Ray position (origin)
/// </summary>
public Vector3 position;
public Vector3 Position;
/// <summary>
/// Ray direction
/// </summary>
public Vector3 direction;
public Vector3 Direction;
public Ray(Vector3 position, Vector3 direction)
{
this.position = position;
this.direction = direction;
this.Position = position;
this.Direction = direction;
}
}
@@ -35,21 +35,21 @@ namespace Raylib_cs
/// <summary>
/// Did the ray hit something?
/// </summary>
public CBool hit;
public CBool Hit;
/// <summary>
/// Distance to the nearest hit
/// </summary>
public float distance;
public float Distance;
/// <summary>
/// Point of the nearest hit
/// </summary>
public Vector3 point;
public Vector3 Point;
/// <summary>
/// Surface normal of hit
/// </summary>
public Vector3 normal;
public Vector3 Normal;
}
}