GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
M_STRING(3) FreeBSD Library Functions Manual M_STRING(3)

M_String
Agar-Math extensions to AG_Printf

#include <agar/core.h>
#include <agar/gui.h>
#include <agar/math.h>

The formatting engine used by AG_Printf(3) and AG_PrintfP(3) allow the registration of format string extensions. Once the Agar-Math library is initialized, the following format specifiers become available:

%[R]
Real-number (of M_Real(3) type).
%[T]
A time value (of M_Time(3) type).
%[C]
A complex number (of M_Complex(3) type).
%[V]
A general vector in R^n (of M_Vector(3) type).
%[V2]
A vector in R^2 (of M_Vector2 type).
%[V3]
A vector in R^3 (of M_Vector3 type).
%[V4]
A vector in R^4 (of M_Vector4 type).
%[M]
A general matrix (of M_Matrix(3) type).
%[M44]
A 4x4 matrix (of M_Matrix44 type).

AG_String(3)
August 21, 2010 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.