Difference between revisions of "Talk:love.timer.getMicroTime"
Line 2: | Line 2: | ||
Heh, who thought of that? It is in seconds! (I coded it) --[[User:Bartbes|Bartbes]] 15:45, 2 March 2010 (UTC) | Heh, who thought of that? It is in seconds! (I coded it) --[[User:Bartbes|Bartbes]] 15:45, 2 March 2010 (UTC) | ||
+ | <source lang="cpp"> | ||
/** | /** | ||
* Gets the amount of time passed since an unspecified time. The time is accurate | * Gets the amount of time passed since an unspecified time. The time is accurate | ||
Line 8: | Line 9: | ||
**/ | **/ | ||
float getMicroTime() const; | float getMicroTime() const; | ||
+ | </source> | ||
--[[User:Technocat|TechnoCat]] 02:45, 3 March 2010 (UTC) | --[[User:Technocat|TechnoCat]] 02:45, 3 March 2010 (UTC) |
Revision as of 02:46, 3 March 2010
In microseconds?
Heh, who thought of that? It is in seconds! (I coded it) --Bartbes 15:45, 2 March 2010 (UTC)
/**
* Gets the amount of time passed since an unspecified time. The time is accurate
* to the microsecond, and is limited to 24 hours.
* @return The time (in seconds)
**/
float getMicroTime() const;
--TechnoCat 02:45, 3 March 2010 (UTC)