Back to project page sdl_tester_android.
The source code is released under:
Copyright (c) 2014, Ford Motor Company All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
If you think the Android project sdl_tester_android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.livio.sdl.utils; //from w w w . j a v a 2 s . com public final class MathUtils { private MathUtils() {} public static final class Conversions{ private Conversions(){} public static final int S_TO_MS = 1000; } public static int convertSecsToMillisecs(int seconds){ return seconds * Conversions.S_TO_MS; } public static float convertSecsToMillisecs(float seconds){ return seconds * Conversions.S_TO_MS; } }