Small fixes 1
This commit is contained in:
parent
26b0a0dac4
commit
f655c1a9e6
8 changed files with 28 additions and 16 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Numerics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Raylib_cs
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -73,7 +73,9 @@ namespace Raylib_cs
|
|||
public IntPtr bindPose;
|
||||
}
|
||||
|
||||
/// <summary>Model animation</summary>
|
||||
/// <summary>
|
||||
/// Model animation
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct ModelAnimation
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue