mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
9708392322
add UDP network connection for physics client <-> server. also set spinning friction in rolling friction demo (otherwise objects may keep on spinning forever)
20 lines
335 B
C
20 lines
335 B
C
#ifndef PHYSICS_CLIENT_UDP_C_API_H
|
|
#define PHYSICS_CLIENT_UDP_C_API_H
|
|
|
|
#include "PhysicsClientC_API.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
///send physics commands using UDP networking
|
|
b3PhysicsClientHandle b3ConnectPhysicsUDP(const char* hostName, int port);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif //PHYSICS_CLIENT_UDP_C_API_H
|