杨帆博客

你想开发游戏还是改变世界?


  • 首页

  • 标签

  • 归档

  • 搜索

My-Calendar-III

发表于 2018-02-20 | 更新于: 2018-08-22

题目地址

LeetCode#732 My Calendar III

题目描述

  Implement a MyCalendarThree class to store your events. A new event can always be added.

阅读全文 »

【OpenGL】9-鼠标与键盘

发表于 2018-02-20 | 更新于: 2018-08-22

参考教程

【中文版】第六课:键盘和鼠标

【英文版】Tutorial 6 : Keyboard and Mouse

学习笔记

  上一篇文章中我们使用了矩阵运算让正方体实现了平移旋转等操作,不过都是用我们设定好的值进行变换,这一篇中我们将实现使用鼠标API使得正方体在X,Y平面上随鼠标移动,并且使用W,A,S,D和Up,Down,Left,Right等键位控制关于X,Y轴的旋转。

阅读全文 »

【OpenGL】8-变换(试用矩阵运算实现平移,旋转,缩放)

发表于 2018-02-19 | 更新于: 2018-08-22

参考教程

【中文版】变换

【英文版】Transformations

学习目录

  1. 使用GLM数学库进行模型矩阵的平移
  2. 使用GLM数学库进行模型矩阵的缩放
  3. 使用GLM数学库进行模型矩阵的旋转
阅读全文 »

Letter-Case-Permutation

发表于 2018-02-19 | 更新于: 2018-08-22

题目地址

LeetCode#784 Letter Case Permutation

题目描述

  Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible strings we could create.

阅读全文 »

Daily-Temperatures

发表于 2018-02-19 | 更新于: 2018-08-22

题目地址

LeetCode#739 Daily Temperatures

题目描述

  Given a list of daily temperatures, produce a list that, for each day in the input, tells you how many days you would have to wait until a warmer temperature. If there is no future day for which this is possible, put 0 instead.

  For example, given the list temperatures = [73, 74, 75, 71, 69, 72, 76, 73], your output should be [1, 1, 4, 2, 1, 1, 0, 0].

阅读全文 »
1…323334…46
KsGin

KsGin

游戏程序员/计算机图形学/Unity/西山居搬砖

226 日志
16 标签
GitHub E-Mail Google Twitter
© 2018 KsGin @ 2018
0%