Translations:Angles/9/zh: Difference between revisions

From Minecraft Parkour Wiki
Content added Content deleted
(Created page with "public static float sin(float value) //in radians { return SIN_TABLE[(int)(value * 10430.378F) & 65535]; }")
 
No edit summary
 
Line 1: Line 1:
public static float sin(float value) //in radians
public static float sin(float value) //以弧度为单位
{
{
return SIN_TABLE[(int)(value * 10430.378F) & 65535];
return SIN_TABLE[(int)(value * 10430.378F) & 65535];

Latest revision as of 09:03, 3 July 2022

Message definition (Angles)
public static float sin(float value) //in radians
{
   return SIN_TABLE[(int)(value * 10430.378F) & 65535];
}

public static float sin(float value) //以弧度为单位 {

   return SIN_TABLE[(int)(value * 10430.378F) & 65535];

}