[Bug] Fix names in structs!
See original GitHub issueBefore submitting a new issue, please verify and check:
- The issue is specific to Raylib-cs and not raylib
- I checked there is no similar issue already reported
- My code has no errors or misuse of Raylib-cs
Issue description
Hello, i saw variable names that not agree with the C# rules.
Example:
Yours:
public partial struct Transform
{
/// <summary>
/// Translation
/// </summary>
public Vector3 translation;
/// <summary>
/// Rotation
/// </summary>
public Quaternion rotation;
/// <summary>
/// Scale
/// </summary>
public Vector3 scale;
}
How it should look like:
public partial struct Transform
{
/// <summary>
/// Translation
/// </summary>
public Vector3 Translation;
/// <summary>
/// Rotation
/// </summary>
public Quaternion Rotation;
/// <summary>
/// Scale
/// </summary>
public Vector3 Scale;
}
Environment
*Raylib-cs
Issue Analytics
- State:
- Created 3 months ago
- Reactions:1
- Comments:22 (20 by maintainers)
Top Results From Across the Web
Is there a fix for this Structure naming bug?
The only way we've found to avoid this problem is to rename both the label and the structure name of the offending structure...
Read more >Unusual bug with structs [closed] - c++
In this program I need to read in information from a text file, the first line is the number of courses I am...
Read more >Can't compile structs with the same name in different rust ...
Describe the Bug Structs with the same names, that reside in different rust modules and have wasm_bindgen attribute applied, ...
Read more >Purpose of name for typedef struct : r/C_Programming
Purpose of name for typedef struct. I'm a beginner, and I'm learning about structs now. I'm a little confused about this code sample:...
Read more >Quick fix C struct name doesn't rename Struct definition
Set naming convention to camelCase; Fix Struct name from main function. Expected: All struct usages and definition are renamed. Actual: Only struct usage ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And i would suggest to rename the
Raylib_cs
namespace toRaylib
If you agree with that i could do that for the full class