| 1 |
{ Define the vectors and matrices using Single float precision. |
| 2 |
|
| 3 |
This is an internal unit: do not use this in your code, |
| 4 |
you do not want to have the types like TGenericScalar or TGenericVector3 |
| 5 |
defined. |
| 6 |
|
| 7 |
Instead use the types exposed by CastleVectors unit, like @link(TVector3). } |
| 8 |
unit CastleVectorsInternalSingle; |
| 9 |
|
| 10 |
{$I castleconf.inc} |
| 11 |
{$ifdef FPC} {$modeswitch advancedrecords} {$endif} |
| 12 |
|
| 13 |
interface |
| 14 |
|
| 15 |
uses SysUtils; |
| 16 |
|
| 17 |
type |
| 18 |
{ Internal type, always means Single within the CastleVectorsInternalSingle unit. } |
| 19 |
TGenericScalar = Single; |
| 20 |
|
| 21 |
{$I castlevectors_generic_float_record.inc} |