00001 // /////////////////////////////////////////////////////////////////////////// 00002 // xrb_vector.cpp by Victor Dods, created 2005/04/22 00003 // /////////////////////////////////////////////////////////////////////////// 00004 // Unless a different license was explicitly granted in writing by the 00005 // copyright holder (Victor Dods), this software is freely distributable under 00006 // the terms of the GNU General Public License, version 2. Any works deriving 00007 // from this work must also be released under the GNU GPL. See the included 00008 // file LICENSE for details. 00009 // /////////////////////////////////////////////////////////////////////////// 00010 00011 #include "xrb_vector.hpp" 00012 00019 namespace Xrb 00020 { 00021 00022 void Fprint (FILE *const fptr, FloatVector2 const &vector, bool const add_newline) 00023 { 00024 vector.Fprint(fptr, "%g", add_newline); 00025 } 00026 00027 void Fprint (FILE *const fptr, Uint32Vector2 const &vector, bool const add_newline) 00028 { 00029 vector.Fprint(fptr, "%u", add_newline); 00030 } 00031 00032 void Fprint (FILE *const fptr, Sint32Vector2 const &vector, bool const add_newline) 00033 { 00034 vector.Fprint(fptr, "%d", add_newline); 00035 } 00036 00037 } // end of namespace Xrb