码迷,mamicode.com
首页 >  
搜索关键字:plane    ( 685个结果)
OpenGL中两种计算投影矩阵的函数
OpenGL无意间同时看到两种创建投影矩阵的写法,可以说它们完成的是同样的功能,但写法完全不同,可以观摩一下什么叫做异曲同工之妙...第一种:gltMakeShadowMatrix函数是重点 1 // Gets the three coefficients of a plane equation g...
分类:其他好文   时间:2014-12-05 00:35:20    阅读次数:261
Max Points on a Line
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line./** * Definition for a point. * struct Point { * ...
分类:其他好文   时间:2014-12-03 12:05:12    阅读次数:181
[POJ] 2352 Stars [线段树区间求和]
StarsDescriptionAstronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the ...
分类:其他好文   时间:2014-11-27 12:06:58    阅读次数:171
LeetCode: Max Points on a Line 解题报告
Max Points on a LineGiven n points on a 2D plane, find the maximum number of points that lie on the same straight line.SOLUTION 1:全部的点扫一次,然后计算每一个点与其它点...
分类:其他好文   时间:2014-11-26 20:37:37    阅读次数:219
Max Points on a Line
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.参考:http://blog.csdn.net/doc_sgl/article/details/17103...
分类:其他好文   时间:2014-11-26 18:14:29    阅读次数:159
【leetcode】Max Points on a Line
Max Points on a Line题目描述:Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.解题思路:1.首先由这么一个O(n^3)的方法,也就...
分类:其他好文   时间:2014-11-24 15:15:28    阅读次数:116
codeforces 268C
?? Manao has invented a new mathematical term — a beautiful set of points. He calls a set of points on a plane beautiful if it meets the following conditions: The coordinates of each point i...
分类:其他好文   时间:2014-11-24 11:52:56    阅读次数:263
UVA - 221(区间覆盖)
Urban ElevationsAn elevation of a collection of buildings is an orthogonal projection of the buildings onto a vertical plane. An external elevation of...
分类:其他好文   时间:2014-11-20 20:20:20    阅读次数:272
three.js 源码注释(十六)Math/Frustum.js
Frustum对象的构造函数.用来在三维空间内创建一个平截头体对象.Frustum对象的功能函数采用 定义构造的函数原型对象来实现,平截头体由6个平面对象构成. Frustum 组成平截头体的面p0 组成平截头体的面p1 <param name ="p2" type="THREE.Plane"...
分类:Web程序   时间:2014-11-20 13:44:51    阅读次数:320
three.js 源码注释(十五)Math/Plane.js
以下代码是THREE.JS 源码文件中Math/Plane.js文件的注释. Plane对象的构造函数.用来在三维空间内创建一个法线向量为normal,从原点到平面的距离为constant的无限延展的二维平面对象.Plane对象的功能函数采用 定义构造的函数原型对象来实现. 用法: var normal = new Vector3(0,0,0),constant = 5.5; var Plane = new Plane(normal,constant); 创建一个法线向量是0,0,0原点到平面的距离是5...
分类:Web程序   时间:2014-11-19 16:05:34    阅读次数:386
共685条   上一页 1 ... 58 59 60 61 62 ... 69 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!