码迷,mamicode.com
首页 >  
搜索关键字:vertex and frag    ( 617个结果
邻接表实现BFS广度优先搜索
#include #include #include #define VERTEX_NUM 8 typedef enum {FALSE = 0, TRUE = 1}BOOL; typedef struct ArcNode { int adjvex; struct ArcNode *nextarc; // struct不能少 }ArcNode; BOOL visi...
分类:其他好文   时间:2015-03-30 09:26:01    阅读次数:201
Fragment详解
一、什么是Fragment Fragment允许将多个Activity拆分成多个完全独立封装的可重用的组件,每个组件有自己的生命周期和UI布局。换句话说也就是,Fragment可将Activity分割成多个独立的部分,每个部分都可填充自己独立的布局,每个部分都有自己的生命周期和UI布局。二、Frag...
分类:其他好文   时间:2015-03-28 22:59:17    阅读次数:160
Codeforces Round #113 (Div. 2)E---Tetrahedron(矩阵,水题)
You are given a tetrahedron. Let’s mark its vertices with letters A, B, C and D correspondingly.An ant is standing in the vertex D of the tetrahedron. The ant is quite active and he wouldn’t stay idle....
分类:其他好文   时间:2015-03-21 12:42:08    阅读次数:155
poj1179 区间dp(记忆化搜索写法)有巨坑!
http://poj.org/problem?id=1179 Description Polygon is a game for one player that starts on a polygon with N vertices, like the one in Figure 1, where N=4. Each vertex is labelled with an integer...
分类:其他好文   时间:2015-03-18 12:23:19    阅读次数:147
[算法导论]拓扑排序 @ Python
class Graph: def __init__(self): self.V = []class Vertex: def __init__(self, x): self.key = x self.color = 'white' s...
分类:编程语言   时间:2015-03-17 17:37:35    阅读次数:182
[算法导论]强连通分量 @ Python
class Graph: def __init__(self): self.V = []class Vertex: def __init__(self, x): self.key = x self.color = 'white' s...
分类:编程语言   时间:2015-03-17 00:28:51    阅读次数:295
Unity3D教程宝典之Shader篇:第八讲 Why CG?
转载自风宇冲Unity3D教程学院Shader有Fixed Function, Vertex and Fragment, Surface, 而Vertex and Fragmen里又有CG和GLSL两种。为什么选CG做重点讲解呢?Fixed Function:老式的固定管线,实现功能有限,不必多说。...
分类:编程语言   时间:2015-03-11 12:23:17    阅读次数:162
Unity3D教程宝典之Shader篇:第四讲制作一个美丽的地球
原创文章如需转载请注明:转载自风宇冲Unity3D教程学院Vertex and Fragment Shader例子二,制作一个自动旋转的3D地球。下载美丽的地球工程原理是 2张贴图,一张地球图,一张云层分布图(1)通过uv.x即纹理坐标的横轴与时间相乘,产生球在移动的效果(2)通过地球和云的颜色值叠...
分类:编程语言   时间:2015-03-10 21:03:43    阅读次数:438
Unity3D教程宝典之Shader篇:第三讲Vertex&Fragment Shader
原创文章如需转载请注明:转载自风宇冲Unity3D教程学院 Vertex and Fragment Shader:最强大的Shader类型,也是本系列的重点,下文中简称V&F Shader,属于可编程渲染管线. 使用的是CG/HLSL语法。分为2个部分vertex顶点部分和Fragme...
分类:编程语言   时间:2015-03-10 20:59:35    阅读次数:237
【数据结构第五周】图(上)
1、什么是图表示多对多的关系包含一组顶点:通常用V(Vertex)表示顶点集合一组边:通常用E(Edge)表示边的集合2、抽象数据类型定义类型名称:图(Graph)数据对象集:G(V,E)由一个非空的有限顶点集合V和一个有限边集合E组成。操作集:对于任意图G 属于 Graph,以及v 属于 V,e ...
分类:其他好文   时间:2015-03-10 16:51:29    阅读次数:176
617条   上一页 1 ... 45 46 47 48 49 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!