Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperLicht
draw2DOval, draw2DLine

warner
Registered User
Quote
2012-01-05 12:24:10

These two functions complement the draw2DRectangle and draw2DImage functions in CL3D.Renderer with a function to draw lines and one to draw ovals:
http://pastebin.com/2vB3T4fF

Example:

renderer.draw2DLine(x1, y1, point.x, point.y, 0xFFFFFF, false);
renderer.draw2DOval(point.x-3, point.y-3, 7, 7, 0xFF00FF, false);



carlosmbr
Registered User
Quote
2023-02-10 03:56:57

I put a class but I can't use it.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internationa?" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact