概况如下: 1、SphereGeometry实现自转的地球; 2、THREE.CatmullRomCurve3实现球体线条地图点确定; 3、THREE.Math.degToRad,Math.sin,Math.cos实现地图经纬度与三位坐标x,y,z之间的转换; 4、MeshLine用于绘制线条; 5 ...
分类:
Web程序 时间:
2019-09-06 01:18:47
阅读次数:
256
Description: Given an array A of integers, return true if and only if we can partition the array into three non-empty parts with equal sums. Formally, ...
分类:
其他好文 时间:
2019-09-05 18:12:35
阅读次数:
76
I Count Two Three 二分查找用lower_bound 这道题用cin,cout会超时。。。 AC代码; ...
分类:
编程语言 时间:
2019-09-05 01:09:20
阅读次数:
101
概况如下: 1、SphereGeometry实现自转的太阳; 2、RingGeometry实现太阳系星系的公转轨道; 3、ImageUtils加载球体和各行星贴图; 4、canvas中createRadialGradient实现太阳发光效果; 5、THREE.Sprite精灵实现太阳系行星。 效果图 ...
分类:
Web程序 时间:
2019-09-02 23:47:14
阅读次数:
186
LeetCode地址:https://leetcode.com/problems/single-number-ii/Problem:Given an array of integers, every element appears three times except for one. Find t... ...
分类:
其他好文 时间:
2019-09-02 12:01:13
阅读次数:
68
Description: A boomerang is a set of 3 points that are all distinct and not in a straight line. Given a list of three points in the plane, return whet ...
分类:
其他好文 时间:
2019-08-29 13:26:50
阅读次数:
78
PAT A1012 The Best Rank 题目描述: To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C ...
分类:
其他好文 时间:
2019-08-28 01:05:37
阅读次数:
86
Klein四元群的结构 Structure of Klein four-group Klein四元群$K$是满足下列乘法表的群 Klein four-group is the group satisfying the following multpilicative table $$\begin{a ...
分类:
其他好文 时间:
2019-08-27 01:08:30
阅读次数:
115
PAT A1001 A+B Format 题目描述: Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas ...
分类:
其他好文 时间:
2019-08-26 15:13:36
阅读次数:
80
函数与方法的区别函数 : 直接通过函数名称调用方法 : 属于某个类 , 通过对象调用对于方法的访问控制也是不提供的 , 类似于对属性的设置class className(object): def one(self): pass def _two(self): pass def __three(sel ...
分类:
其他好文 时间:
2019-08-25 18:27:49
阅读次数:
116