Merge branch 'master' of https://github.com/Syphonx/raylib-public
This commit is contained in:
commit
0e1078c13d
1 changed files with 32548 additions and 30231 deletions
10
src/raylib.h
10
src/raylib.h
|
|
@ -1240,6 +1240,7 @@ RLAPI Color *GetImageData(Image image);
|
|||
RLAPI Vector4 *GetImageDataNormalized(Image image); // Get pixel data from image as Vector4 array (float normalized)
|
||||
RLAPI int GetPixelDataSize(int width, int height, int format); // Get pixel data size in bytes (image or texture)
|
||||
RLAPI Image GetTextureData(Texture2D texture); // Get pixel data from GPU texture and return an Image
|
||||
RLAPI Image GetScreenData(void); // Get pixel data from screen buffer and return an Image (screenshot)
|
||||
RLAPI void UpdateTexture(Texture2D texture, const void *pixels); // Update GPU texture with new data
|
||||
|
||||
// Image manipulation functions
|
||||
|
|
@ -1352,6 +1353,7 @@ RLAPI void DrawCircle3D(Vector3 center, float radius, Vector3 rotationAxis, floa
|
|||
RLAPI void DrawCube(Vector3 position, float width, float height, float length, Color color); // Draw cube
|
||||
RLAPI void DrawCubeV(Vector3 position, Vector3 size, Color color); // Draw cube (Vector version)
|
||||
RLAPI void DrawCubeWires(Vector3 position, float width, float height, float length, Color color); // Draw cube wires
|
||||
RLAPI void DrawCubeWiresV(Vector3 position, Vector3 size, Color color); // Draw cube wires (Vector version)
|
||||
RLAPI void DrawCubeTexture(Texture2D texture, Vector3 position, float width, float height, float length, Color color); // Draw cube textured
|
||||
RLAPI void DrawSphere(Vector3 centerPos, float radius, Color color); // Draw sphere
|
||||
RLAPI void DrawSphereEx(Vector3 centerPos, float radius, int rings, int slices, Color color); // Draw sphere with extended parameters
|
||||
|
|
@ -1564,9 +1566,9 @@ RLAPI Socket *SocketAccept(Socket *server, SocketConfig *config);
|
|||
RLAPI int SocketSetChannel(Socket *socket, int channel, const IPAddress *address);
|
||||
RLAPI void SocketUnsetChannel(Socket *socket, int channel);
|
||||
|
||||
// UDP DataPacket API
|
||||
RLAPI SocketDataPacket *AllocPacket(int size);
|
||||
RLAPI int ResizePacket(SocketDataPacket *packet, int newsize);
|
||||
// UDP DataPacket API
|
||||
RLAPI SocketDataPacket *AllocPacket(int size);
|
||||
RLAPI int ResizePacket(SocketDataPacket *packet, int newsize);
|
||||
RLAPI void FreePacket(SocketDataPacket *packet);
|
||||
RLAPI SocketDataPacket** AllocPacketList(int count, int size);
|
||||
RLAPI void FreePacketList(SocketDataPacket **packets);
|
||||
|
|
@ -1612,4 +1614,4 @@ uint64_t PacketRead64(Packet *packet);
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // RAYLIB_H
|
||||
#endif // RAYLIB_H
|
||||
Loading…
Reference in a new issue