Rubiks+cube 源代码

汇集 Rubiks+cube 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

{: Basic sample for loading and applying a cube map. In this extremely simple demo, with a single teapot, we just setup and …

源码文件

#include int i_cube(int value) { return(value * value * value); } void main(void) { printf("The cube of 3 is …

源码文件

#include int i_cube(int); float f_cube(float); void main(void) { printf("The cube of 3 is %d\n", i_cube(3)); pri…

源码文件

#include #define SQUARE(x) ((x) * (x)) #define CUBE(x) ((x) * (x) * (x)) void main(void) { printf("The square of 2 i…

源码文件

// Listing 21.2 Macro Expansion #include using namespace std; #define CUBE(a) ( (a) * (a) * (a) ) #define THREE(a) a * a * …

源码文件

#include using namespace std; inline unsigned long Square(unsigned long a) { return a * a; } inline unsigned long Cube(unsig…

源码文件

#Joseph O'Rourke #Questions to orourke@cs.smith.edu #make sphere: compiles sphere.c #make cube: compiles cube.c #make spiral: comp…

源码文件

To uncompress and untar the files: gunzip sphere.tar.gz tar -xvf sphere.tar This will leave you with three files: README this …

源码文件

chull.c The C source code (~1000 lines). Read leading comment. Makefile gcc compile commands i.cube Sample input file; run with,…