You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
561 B
Markdown
25 lines
561 B
Markdown
## Pow
|
|
Lũy thừa.
|
|
|
|
### Các phiên bản
|
|
```glsl
|
|
float pow(float x, float y)
|
|
vec2 pow(vec2 x, vec2 y)
|
|
vec3 pow(vec3 x, vec3 y)
|
|
vec4 pow(vec4 x, vec4 y)
|
|
```
|
|
|
|
### Các tham số
|
|
```x``` cơ số.
|
|
|
|
```y``` số mũ.
|
|
|
|
### Mô tả
|
|
```pow()``` trả về kết quả của phép toán ```x``` mũ ```y```
|
|
|
|
<div class="simpleFunction" data="y = pow(x,3.0); "></div>
|
|
|
|
### Tham khảo thêm
|
|
|
|
[inversesqrt](/glossary/?lan=vi&search=inversesqrt), [sqrt](/glossary/?lan=vi&search=sqrt), [Các hàm số cơ bản (Hàm hình dạng - Shape function)](/05/?lan=vi)
|