Comments (1)
使用以下方式对比性能:
#include <ctime>
clock_t tic, toc;
tic = clock();
/*************
* pick here
**************/
toc = clock();
cout << "It took " << (double)(toc - tic) / CLOCKS_PER_SEC << " second(s) to pick." << endl;
目前结果为:0.02 ~ 0.06 miliseconds/frame
。
使用#define CALTIME
来开启计时器
from minecube.
Related Issues (20)
- 拾取 Picking 有位移偏差 HOT 4
- Imgui save&load 的时候,输入文件名会出现问题 HOT 5
- load 之后会渲染两个相同的方块
- 可以使用 GUI 修改整个大立方体的 numPerEdge
- 添加帧缓冲快速改变模型外观的功能 HOT 2
- 个人认为目前需要优先处理的问题 HOT 10
- Shadow 效果并没有体现出来 HOT 4
- 关于Mac下无法正常工作的问题 HOT 2
- The hover plane turn red, not the whole cube.
- CubeManager 应该支持忽略越界处理 HOT 1
- 关于底部增加一层透明正方体的可能性讨论 HOT 2
- Load Model occur bugs HOT 14
- Unelegant path hard code. HOT 2
- Error when make
- 其实关于IMGUI的冲突,我在想是不是可以把相关的代码写在IMGUI的封装里 HOT 2
- What is our grain size for modifying attributes of each cube? HOT 2
- Display Text support HOT 3
- All bonus should be in a class? HOT 1
- 下雪粒子系统的简单支持 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecube.