geomUtils.Triangle Class

Module: cc Parent Module: cc

Triangle

Index

Properties
  • a Vec3
  • b Vec3
  • c Vec3
Methods
  • create create a new triangle
  • clone clone a new triangle
  • copy copy the values from one triangle to another
  • fromPoints Create a triangle from three points
  • set Set the components of a triangle to the given values

Details

Properties

a
meta description
Type Vec3
Defined in cocos2d/core/geom-utils/triangle.ts:133
b
meta description
Type Vec3
Defined in cocos2d/core/geom-utils/triangle.ts:137
c
meta description
Type Vec3
Defined in cocos2d/core/geom-utils/triangle.ts:141

Methods

create

create a new triangle

meta description
Returns geomUtils.Triangle
Defined in cocos2d/core/geom-utils/triangle.ts:38
Parameters
clone

clone a new triangle

meta description
Returns geomUtils.Triangle
Defined in cocos2d/core/geom-utils/triangle.ts:56
Parameters
copy

copy the values from one triangle to another

meta description
Returns geomUtils.Triangle
Defined in cocos2d/core/geom-utils/triangle.ts:70
Parameters
fromPoints

Create a triangle from three points

meta description
Returns geomUtils.Triangle
Defined in cocos2d/core/geom-utils/triangle.ts:85
Parameters
set

Set the components of a triangle to the given values

meta description
Returns Plane
Defined in cocos2d/core/geom-utils/triangle.ts:101
Parameters

results matching ""

    No results matching ""