Comments (2)
没有啊
Vector<4, float> v = {1,1,1,1};
printf("%x\n", vector_to_color(v));
输出 0xffffffff
from renderhelp.
很抱歉这些天没有注意看GitHub,谢谢韦大这么快就回复了,的确使用255的时候是正确的。
from renderhelp.
Related Issues (10)
- 用整数计算边界判断有问题 HOT 6
- sample_03_box.cpp定点着色器中的VARYING_COLOR没有在像素着色器被使用,可以去除吗? HOT 2
- 三角形接缝处不连续,有遗漏的点 HOT 5
- win10 wsl 编辑示例报错
- Bitmap::Sample2D方法有一个像素的偏差
- 读取其他格式的纹理图 HOT 3
- 请教: 深度缓存记录 1/w HOT 3
- 关于平移变换矩阵的问题 HOT 2
- 请教 整数颜色到矢量 转换问题 HOT 2
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 renderhelp.