Add 16bit indices support for Raycast + add alignment

This commit is contained in:
ejcoumans
2008-02-13 22:22:42 +00:00
parent abc0391742
commit fe426229a7
2 changed files with 32 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
#include "LinearMath/btVector3.h"
#include "../PlatformDefinitions.h"
struct RaycastGatheredObjectData
ATTRIBUTE_ALIGNED16(struct) RaycastGatheredObjectData
{
ppu_address_t m_collisionShape;
void* m_spuCollisionShape;
@@ -33,7 +33,7 @@ ATTRIBUTE_ALIGNED16(struct) SpuRaycastTaskWorkUnit
#define SPU_RAYCAST_WORK_UNITS_PER_TASK 4
struct SpuRaycastTaskDesc
ATTRIBUTE_ALIGNED128(struct) SpuRaycastTaskDesc
{
SpuRaycastTaskWorkUnit workUnits[SPU_RAYCAST_WORK_UNITS_PER_TASK];
int numWorkUnits;