User Tools

Site Tools


preview:api:matrix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
preview:api:matrix [2020/05/22 12:43] maximepreview:api:matrix [2023/12/12 12:16] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 **Category**: Data structure **Category**: Data structure
 +
  
  
Line 9: Line 10:
  
 ==== setIdentity ==== ==== setIdentity ====
 +
 ''void **matrix.setIdentity**(//object//)'' ''void **matrix.setIdentity**(//object//)''
  
Line 17: Line 19:
  
 ==== setTranslation ==== ==== setTranslation ====
 +
 ''void **matrix.setTranslation**(//object//, //translation//)'' ''void **matrix.setTranslation**(//object//, //translation//)''
  
Line 27: Line 30:
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
 | //''object''// | ''matrix'' |  | | //''object''// | ''matrix'' |  |
-| //''x''// | ''float'' |  | +| //''x''// | ''[[preview:data-types#float|float]]'' |  | 
-| //''y''// | ''float'' |  | +| //''y''// | ''[[preview:data-types#float|float]]'' |  | 
-| //''z''// | ''float'' |  |+| //''z''// | ''[[preview:data-types#float|float]]'' |  |
  
 ---- ----
  
 ==== translate ==== ==== translate ====
 +
 ''void **matrix.translate**(//object//, //translation//)'' ''void **matrix.translate**(//object//, //translation//)''
  
Line 44: Line 48:
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
 | //''object''// | ''matrix'' |  | | //''object''// | ''matrix'' |  |
-| //''x''// | ''float'' |  | +| //''x''// | ''[[preview:data-types#float|float]]'' |  | 
-| //''y''// | ''float'' |  | +| //''y''// | ''[[preview:data-types#float|float]]'' |  | 
-| //''z''// | ''float'' |  |+| //''z''// | ''[[preview:data-types#float|float]]'' |  |
  
 ---- ----
  
 ==== getTranslation ==== ==== getTranslation ====
 +
 ''[[preview:api:vec3f|vec3f]] **matrix.getTranslation**(//object//)'' ''[[preview:api:vec3f|vec3f]] **matrix.getTranslation**(//object//)''
  
Line 59: Line 64:
  
 ==== getScale ==== ==== getScale ====
 +
 ''[[preview:api:vec3f|vec3f]] **matrix.getScale**(//object//)'' ''[[preview:api:vec3f|vec3f]] **matrix.getScale**(//object//)''
  
Line 67: Line 73:
  
 ==== setScale ==== ==== setScale ====
 +
 ''void **matrix.setScale**(//object//, //x//, //y//, //z//)'' ''void **matrix.setScale**(//object//, //x//, //y//, //z//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
 | //''object''// | ''matrix'' |  | | //''object''// | ''matrix'' |  |
-| //''x''// | ''float'' |  | +| //''x''// | ''[[preview:data-types#float|float]]'' |  | 
-| //''y''// | ''float'' |  | +| //''y''// | ''[[preview:data-types#float|float]]'' |  | 
-| //''z''// | ''float'' |  |+| //''z''// | ''[[preview:data-types#float|float]]'' |  |
  
 ''void **matrix.setScale**(//object//, //scale//)'' ''void **matrix.setScale**(//object//, //scale//)''
Line 84: Line 91:
  
 ==== setRotation ==== ==== setRotation ====
 +
 ''void **matrix.setRotation**(//object//, //quaternion//)'' ''void **matrix.setRotation**(//object//, //quaternion//)''
  
Line 93: Line 101:
  
 ==== det ==== ==== det ====
-''float **matrix.det**(//object//)''+ 
 +''[[preview:data-types#float|float]] **matrix.det**(//object//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
Line 101: Line 110:
  
 ==== detUniform ==== ==== detUniform ====
-''float **matrix.detUniform**(//object//)''+ 
 +''[[preview:data-types#float|float]] **matrix.detUniform**(//object//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
Line 109: Line 119:
  
 ==== inverse ==== ==== inverse ====
 +
 ''[[preview:api:matrix|matrix]] **matrix.inverse**(//object//)'' ''[[preview:api:matrix|matrix]] **matrix.inverse**(//object//)''
  
Line 117: Line 128:
  
 ==== inverseUniform ==== ==== inverseUniform ====
 +
 ''[[preview:api:matrix|matrix]] **matrix.inverseUniform**(//object//)'' ''[[preview:api:matrix|matrix]] **matrix.inverseUniform**(//object//)''
  
Line 125: Line 137:
  
 ==== getTransform ==== ==== getTransform ====
 +
 ''void **matrix.getTransform**(//object//, //outTranslation//, //outOrientation//, //outScale//)'' ''void **matrix.getTransform**(//object//, //outTranslation//, //outOrientation//, //outScale//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
 | //''object''// | ''matrix'' |  | | //''object''// | ''matrix'' |  |
-| //''outTranslation''// | ''[[preview:api:vec3f|vec3f]]'' | Out argument | +| //''outTranslation''// | ''[[preview:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// 
-| //''outOrientation''// | ''[[preview:api:quaternion|quaternion]]'' | Out argument | +| //''outOrientation''// | ''[[preview:api:quaternion|quaternion]]'' | //[[:annotations#out_argument|Out argument]]// 
-| //''outScale''// | ''[[preview:api:vec3f|vec3f]]'' | Out argument |+| //''outScale''// | ''[[preview:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// |
  
 ---- ----
  
 ==== transpose ==== ==== transpose ====
 +
 ''[[preview:api:matrix|matrix]] **matrix.transpose**(//object//)'' ''[[preview:api:matrix|matrix]] **matrix.transpose**(//object//)''
  
Line 144: Line 158:
  
 ==== transformPoint ==== ==== transformPoint ====
 +
 ''[[preview:api:vec3f|vec3f]] **matrix.transformPoint**(//object//, //v//)'' ''[[preview:api:vec3f|vec3f]] **matrix.transformPoint**(//object//, //v//)''
  
Line 155: Line 170:
 | //''object''// | ''matrix'' |  | | //''object''// | ''matrix'' |  |
 | //''v''// | ''[[preview:api:vec3f|vec3f]]'' |  | | //''v''// | ''[[preview:api:vec3f|vec3f]]'' |  |
-| //''outW''// | ''float'' | Out argument |+| //''outW''// | ''[[preview:data-types#float|float]]'' | //[[:annotations#out_argument|Out argument]]// |
  
 ---- ----
  
 ==== transformVector ==== ==== transformVector ====
 +
 ''[[preview:api:vec3f|vec3f]] **matrix.transformVector**(//object//, //v//)'' ''[[preview:api:vec3f|vec3f]] **matrix.transformVector**(//object//, //v//)''
  
Line 171: Line 187:
 | //''object''// | ''matrix'' |  | | //''object''// | ''matrix'' |  |
 | //''v''// | ''[[preview:api:vec3f|vec3f]]'' |  | | //''v''// | ''[[preview:api:vec3f|vec3f]]'' |  |
-| //''outW''// | ''float'' | Out argument |+| //''outW''// | ''[[preview:data-types#float|float]]'' | //[[:annotations#out_argument|Out argument]]// |
  
 ---- ----
  
 ==== isIdentity ==== ==== isIdentity ====
-''boolean **matrix.isIdentity**(//object//, //epsilon//)''+ 
 +''[[preview:data-types#boolean|boolean]] **matrix.isIdentity**(//object//, //epsilon//)''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
 | //''object''// | ''matrix'' |  | | //''object''// | ''matrix'' |  |
-| //''epsilon''// | ''float'' |  |+| //''epsilon''// | ''[[preview:data-types#float|float]]'' |  | 
  
preview/api/matrix.1590165780.txt.gz · Last modified: 2020/05/22 12:43 by maxime

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki