/** */ /** * 旋转向量 * 逆时针为正方向 * @param sin * @param cos */ public void Rotate( float sin, float cos) ... { float _x = x*cos - y*sin; float _y = x*sin + y*cos; this.x = _x; this.y = _y; } 哈哈, 看来不用求抛物线的切线了, 直接向量旋转就OK了 还好当年移植doom3数学库到j2me时没偷懒.....