Bullet Collision Detection & Physics Library: btQuantization.h File Reference

Bullet Collision Detection & Physics Library

Functions
btQuantization.h File Reference
`#include "LinearMath/btTransform.h"`
Include dependency graph for btQuantization.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions
void | bt_calc_quantization_parameters (btVector3 &outMinBound, btVector3 &outMaxBound, btVector3 &bvhQuantization, const btVector3 &srcMinBound, const btVector3 &srcMaxBound, btScalar quantizationMargin)
void | bt_quantize_clamp (unsigned short *out, const btVector3 &point, const btVector3 &min_bound, const btVector3 &max_bound, const btVector3 &bvhQuantization)
btVector3 | bt_unquantize (const unsigned short *vecIn, const btVector3 &offset, const btVector3 &bvhQuantization)

## Detailed Description

Author
  Francisco Leon Najera

Definition in file btQuantization.h.

## Function Documentation

## § bt_calc_quantization_parameters()

void bt_calc_quantization_parameters | ( | btVector3 & | outMinBound,
|  | btVector3 & | outMaxBound,
|  | btVector3 & | bvhQuantization,
|  | const btVector3 & | srcMinBound,
|  | const btVector3 & | srcMaxBound,
|  | btScalar | quantizationMargin
| ) |  |
| inline

Definition at line 35 of file btQuantization.h.

## § bt_quantize_clamp()

void bt_quantize_clamp | ( | unsigned short * | out,
|  | const btVector3 & | point,
|  | const btVector3 & | min_bound,
|  | const btVector3 & | max_bound,
|  | const btVector3 & | bvhQuantization
| ) |  |
| inline

Definition at line 53 of file btQuantization.h.

## § bt_unquantize()

btVector3 bt_unquantize | ( | const unsigned short * | vecIn,
|  | const btVector3 & | offset,
|  | const btVector3 & | bvhQuantization
| ) |  |
| inline

Definition at line 72 of file btQuantization.h.