⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rotvector.c

📁 su 的源代码库
💻 C
字号:
/* Copyright (c) Colorado School of Mines, 2006.*//* All rights reserved.                       *//* Copyright (c) Colorado School of Mines, 1999.*//* All rights reserved.                       */#include "par.h"void rotvector (float *x, float *z, float si, float co )/*****************************************************************************Rotate 2-D vector******************************************************************************Input:x,z		input/output vector elementssi/co 		sin/cos of rotation angleAuthor:  Andreas Rueger, Colorado School of Mines, 03/14/94******************************************************************************/{		float o,p;		o=*x;		p=*z;		*x=o*co + p*si;		*z=p*co - o*si;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -