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

Small fixes 1

This commit is contained in:
Rgebee 2021-10-28 20:48:37 +01:00
commit f655c1a9e6
8 changed files with 28 additions and 16 deletions

View file

@ -3,7 +3,9 @@ using System.Runtime.InteropServices;
namespace Raylib_cs
{
/// <summary>Wave type, defines audio wave data</summary>
/// <summary>
/// Wave type, defines audio wave data
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Wave
{
@ -33,8 +35,10 @@ namespace Raylib_cs
public IntPtr data;
}
/// <summary>Audio stream type
/// NOTE: Useful to create custom audio streams not bound to a specific file</summary>
/// <summary>
/// Audio stream type
/// NOTE: Useful to create custom audio streams not bound to a specific file
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct AudioStream
{
@ -59,7 +63,9 @@ namespace Raylib_cs
public uint channels;
}
/// <summary>Sound source type</summary>
/// <summary>
/// Sound source type
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Sound
{
@ -74,8 +80,10 @@ namespace Raylib_cs
public uint frameCount;
}
/// <summary>Music stream type (audio file streaming from memory)
/// NOTE: Anything longer than ~10 seconds should be streamed</summary>
/// <summary>
/// Music stream type (audio file streaming from memory)
/// NOTE: Anything longer than ~10 seconds should be streamed
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Music
{

View file

@ -3,7 +3,9 @@ using System.Runtime.InteropServices;
namespace Raylib_cs
{
/// <summary>Camera2D, defines position/orientation in 2d space</summary>
/// <summary>
/// Camera2D, defines position/orientation in 2d space
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Camera2D
{

View file

@ -1,5 +1,4 @@
using System;
using System.Numerics;
using System.Runtime.InteropServices;
namespace Raylib_cs

View file

@ -114,9 +114,7 @@ namespace Raylib_cs
}
/// <summary>
/// Image type, bpp always RGBA (32bit)
/// <br/>
/// NOTE: Data stored in CPU memory (RAM)
/// Image, pixel data stored in CPU memory (RAM)
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Image

View file

@ -73,7 +73,9 @@ namespace Raylib_cs
public IntPtr bindPose;
}
/// <summary>Model animation</summary>
/// <summary>
/// Model animation
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct ModelAnimation
{

View file

@ -44,7 +44,9 @@ namespace Raylib_cs
}
}
/// <summary>Ray, ray for raycasting</summary>
/// <summary>
/// Ray, ray for raycasting
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Ray
{
@ -65,7 +67,9 @@ namespace Raylib_cs
}
}
/// <summary>Raycast hit information</summary>
/// <summary>
/// Raycast hit information
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct RayCollision
{