14 INLINE_LINMATH LVecBase2f cast_to_float(
const LVecBase2d &source) {
15 return LCAST(
float, source);
18 INLINE_LINMATH LVecBase3f cast_to_float(
const LVecBase3d &source) {
19 return LCAST(
float, source);
22 INLINE_LINMATH LVecBase4f cast_to_float(
const LVecBase4d &source) {
23 return LCAST(
float, source);
26 INLINE_LINMATH LVector2f cast_to_float(
const LVector2d &source) {
27 return LCAST(
float, source);
30 INLINE_LINMATH LVector3f cast_to_float(
const LVector3d &source) {
31 return LCAST(
float, source);
34 INLINE_LINMATH LVector4f cast_to_float(
const LVector4d &source) {
35 return LCAST(
float, source);
38 INLINE_LINMATH LPoint2f cast_to_float(
const LPoint2d &source) {
39 return LCAST(
float, source);
42 INLINE_LINMATH LPoint3f cast_to_float(
const LPoint3d &source) {
43 return LCAST(
float, source);
46 INLINE_LINMATH LPoint4f cast_to_float(
const LPoint4d &source) {
47 return LCAST(
float, source);
50 INLINE_LINMATH LMatrix3f cast_to_float(
const LMatrix3d &source) {
51 return LCAST(
float, source);
54 INLINE_LINMATH LMatrix4f cast_to_float(
const LMatrix4d &source) {
55 return LCAST(
float, source);