DrawModelPoints* methods added
This commit is contained in:
parent
2be652ef8f
commit
01fd14913e
1 changed files with 15 additions and 0 deletions
|
|
@ -2427,6 +2427,21 @@ public static unsafe partial class Raylib
|
||||||
Color tint
|
Color tint
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/// <summary>Draw a model as points</summary>
|
||||||
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void DrawModelPoints(Model model, Vector3 position, float scale, Color tint);
|
||||||
|
|
||||||
|
/// <summary>Draw a model as points with extended parameters</summary>
|
||||||
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void DrawModelPointsEx(
|
||||||
|
Model model,
|
||||||
|
Vector3 position,
|
||||||
|
Vector3 rotationAxis,
|
||||||
|
float rotationAngle,
|
||||||
|
Vector3 scale,
|
||||||
|
Color tint
|
||||||
|
);
|
||||||
|
|
||||||
/// <summary>Draw bounding box (wires)</summary>
|
/// <summary>Draw bounding box (wires)</summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void DrawBoundingBox(BoundingBox box, Color color);
|
public static extern void DrawBoundingBox(BoundingBox box, Color color);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue