Watch
2
0
Fork
You've already forked raylib-cs
0

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
commit fd4ea148b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 1190 additions and 1204 deletions

View file

@ -12,29 +12,29 @@ namespace Raylib_cs
/// <summary>
/// Camera offset (displacement from target)
/// </summary>
public Vector2 offset;
public Vector2 Offset;
/// <summary>
/// Camera target (rotation and zoom origin)
/// </summary>
public Vector2 target;
public Vector2 Target;
/// <summary>
/// Camera rotation in degrees
/// </summary>
public float rotation;
public float Rotation;
/// <summary>
/// Camera zoom (scaling), should be 1.0f by default
/// </summary>
public float zoom;
public float Zoom;
public Camera2D(Vector2 offset, Vector2 target, float rotation, float zoom)
{
this.offset = offset;
this.target = target;
this.rotation = rotation;
this.zoom = zoom;
this.Offset = offset;
this.Target = target;
this.Rotation = rotation;
this.Zoom = zoom;
}
}
}