Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
float4 Struct Reference

#include <btGpuDefines.h>

Collaboration diagram for float4:
Collaboration graph
[legend]

Public Member Functions

 float4 ()
 
 float4 (float v0, float v1, float v2, float v3)
 
 float4 (float3 xyz, float scalarW)
 
 float4 (float v)
 
float4 operator* (const float4 &other)
 
float4 operator* (const float &other)
 
float4operator+= (const float4 &other)
 
float4operator-= (const float4 &other)
 
float4operator*= (float scalar)
 

Public Attributes

float x
 
float y
 
float z
 
float w
 
union {
   struct {
      float   x
 
      float   y
 
      float   z
 
   } 
 
   float3   xyz
 
}; 
 

Detailed Description

Definition at line 46 of file btGpuDefines.h.

Constructor & Destructor Documentation

float4::float4 ( )
inline

Definition at line 154 of file cl_MiniCL_Defs.h.

float4::float4 ( float  v0,
float  v1,
float  v2,
float  v3 
)
inline

Definition at line 156 of file cl_MiniCL_Defs.h.

float4::float4 ( float3  xyz,
float  scalarW 
)
inline

Definition at line 164 of file cl_MiniCL_Defs.h.

float4::float4 ( float  v)
inline

Definition at line 172 of file cl_MiniCL_Defs.h.

Member Function Documentation

float4 float4::operator* ( const float4 other)
inline

Definition at line 176 of file cl_MiniCL_Defs.h.

float4 float4::operator* ( const float &  other)
inline

Definition at line 188 of file cl_MiniCL_Defs.h.

float4& float4::operator*= ( float  scalar)
inline

Definition at line 218 of file cl_MiniCL_Defs.h.

float4& float4::operator+= ( const float4 other)
inline

Definition at line 200 of file cl_MiniCL_Defs.h.

float4& float4::operator-= ( const float4 other)
inline

Definition at line 209 of file cl_MiniCL_Defs.h.

Member Data Documentation

union { ... }
float float4::w

Definition at line 48 of file btGpuDefines.h.

float float4::x

Definition at line 48 of file btGpuDefines.h.

float3 float4::xyz

Definition at line 150 of file cl_MiniCL_Defs.h.

float float4::y

Definition at line 48 of file btGpuDefines.h.

float float4::z

Definition at line 48 of file btGpuDefines.h.


The documentation for this struct was generated from the following files: