add missing files, and make some functions virtual to allow compilation
This commit is contained in:
@@ -65,6 +65,9 @@ function createProject(vendor)
|
|||||||
"../../opencl/parallel_primitives/host/btPrefixScanCL.h",
|
"../../opencl/parallel_primitives/host/btPrefixScanCL.h",
|
||||||
"../../opencl/parallel_primitives/host/btRadixSort32CL.cpp",
|
"../../opencl/parallel_primitives/host/btRadixSort32CL.cpp",
|
||||||
"../../opencl/parallel_primitives/host/btRadixSort32CL.h",
|
"../../opencl/parallel_primitives/host/btRadixSort32CL.h",
|
||||||
|
"../../opencl/gpu_rigidbody/host/**.cpp",
|
||||||
|
"../../opencl/gpu_rigidbody/host/**.h",
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if os.is("Windows") then
|
if os.is("Windows") then
|
||||||
|
|||||||
@@ -322,10 +322,10 @@ public:
|
|||||||
///return the local value of parameter
|
///return the local value of parameter
|
||||||
virtual btScalar getParam(int num, int axis = -1) const = 0;
|
virtual btScalar getParam(int num, int axis = -1) const = 0;
|
||||||
|
|
||||||
virtual int calculateSerializeBufferSize() const;
|
virtual int calculateSerializeBufferSize() const=0;
|
||||||
|
|
||||||
///fills the dataBuffer and returns the struct name (and 0 on failure)
|
///fills the dataBuffer and returns the struct name (and 0 on failure)
|
||||||
virtual const char* serialize(void* dataBuffer, btSerializer* serializer) const;
|
virtual const char* serialize(void* dataBuffer, btSerializer* serializer) const=0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user